We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hy I have tried to load browscap using composer and followed the readme and i got
Xdebug: Fatal error: Uncaught ArgumentCountError: Too few arguments to function BrowscapPHP\Browscap::__construct(), 0 passed in
The text was updated successfully, but these errors were encountered:
so now browscap requires 2 params, but readme not updated.
/** * Browscap constructor. * * @param \Psr\SimpleCache\CacheInterface $cache * @param LoggerInterface $logger */ public function __construct(CacheInterface $cache, LoggerInterface $logger) { $this->cache = new BrowscapCache($cache, $logger); $this->logger = $logger; $this->formatter = new Formatter\PhpGetBrowser(); }
Sorry, something went wrong.
mimmi20
No branches or pull requests
Hy I have tried to load browscap using composer and followed the readme and i got
Xdebug: Fatal error: Uncaught ArgumentCountError: Too few arguments to function BrowscapPHP\Browscap::__construct(), 0 passed in
The text was updated successfully, but these errors were encountered: