It seems like you are loosely comparing $create_file of type integer to the boolean false. If you are specifically checking for non-zero, consider using something more explicit like > 0 or !== 0 instead.
Loading history...
49
$this->info('File Created');
50
}else{
51
$this->info('Unable to create file, please create manaully at '.$file_path);
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.