laravel-ffmpeg
laravel-ffmpeg copied to clipboard
Bug fix
When set disk on construct function we must return class instance.
I think it's not necessary to add a return statement in the __construct method in Laravel. The __construct method is automatically called when an object is created from a class, and its purpose is to initialize the properties of the object. It's common to set up dependencies or perform other setup tasks in the __construct method, but the method does not require a return statement because its purpose is to modify the object itself, rather than returning a value.
@aronquiray ok but think what is the purpose of $disk in construct? if we don't return class instance, $disk is useless.
Hey, thanks for your contribution, I dont think that this PR will ever get merged, you may close it.