Closed ylnwqm closed 2 years ago
hi @ylnwqm
reinstall package or update package to 2.3.4
nice!! this solve the same problem
@mavinoo I want to further understand could I add the 'providers' and 'alias' in my custimized service provider in my packages?
Or just could add it to app.php in config folder?
PHP Version : 7.4.9 Laravel Version : 8.0
app.php
when i use
Batch::update($userInstance, $value, $index);
An exception occurred
Non-static method Mavinoo\Batch\Batch::update() should not be called statically
But use
batch()->update($userInstance, $value, $index);
no exception in this way