PHPSpreadsheet not getting data from SQL Query?

I’ve created the topic here.