Created by: farhantahir
I have fixed this and added a $hidden variable to the method of writeSheetRow by default its value is false, but if some one want to make a row hidden then can pass true to hide the row, like in my case I used this following method call to hide the row
$writer->writeSheetRow('Sheet1', $row,null,true); // true to hide the row