php-phantomjs
php-phantomjs copied to clipboard
Laravel Error
Hello, I'm getting an error message. (Version : Laravel 5.4)
"Declaration of JonnyW\PhantomJs\DependencyInjection\ServiceContainer::load() should be compatible with Symfony\Component\DependencyInjection\Container::load($file)"
How can I fix?
\vendor\jonnyw\php-phantomjs\src\JonnyW\PhantomJs\DependencyInjection\ServiceContainer.php at your load() function change it to load($file = null)
hey @szabizs .. you are suggesting to update the vendor library? Is there a proper fix for this?
Thanks
If no new release was made, yes, this is your fix.
Alright.. Well I pulled the latest copy and the error is still there so.. Unfortunately updating the vendor folder doesn't work for me or anyone using a deployment tool. I'll see if I can work something out.
Thanks
@nicgutierrez sorry to hear that...