Open zdwork opened 3 years ago
打开composer.json文件,在require 的最后一行加上"psr/container": "1.0.0"
"require": { "php": "^5.6 || ^7.0", "ext-json": "*", "illuminate/database": "~5.8", "jenssegers/mongodb": "^3.5", "illuminate/pagination": "^5.8", "psr/container": "1.0.0" },
[500]: /?r=login/account - Declaration of Illuminate\Container\Container::get($id) must be compatible with Psr\Container\ContainerInterface::get(string $id) in /usr/local/src/php-monitor/vendor/illuminate/container/Container.php on line 15