mavinoo / laravelBatch

insert batch and update batch in laravel
MIT License
564 stars 118 forks source link

ParseError: syntax error, unexpected 'return' (T_RETURN) in version 2.3.2, 2.3.3. #86

Closed eleazarbr closed 2 years ago

eleazarbr commented 2 years ago

You probably already know, but updating the package version to 2.3.2 or 2.3.3 generates the next error:

ParseError: syntax error, unexpected 'return' (T_RETURN)
in /vendor/mavinoo/laravel-batch/src/Batch.php:275

I had to set the package to version 2.3.1 to avoid that error. Btw awesome package. Thanks

szhorvath commented 2 years ago

Hi, The same problem here. image

kuteikin commented 2 years ago

Please add ) in /vendor/mavinoo/laravel-batch/src/Batch.php:line247

mavinoo commented 2 years ago

Thank you from all my friends. fixed bug.