Closed seateng closed 6 years ago
I‘m confused- this class has 2 constructors? See http://php.net/manual/en/reflectionmethod.construct.php
Yeah, but it does not have (string, array)
, so we need to call it via (string, string)
.
Fair, but that should not cause the error message above? I‘ll give it another try...
I can confirm this is an issue on my end. Will look at making a PR this week. Haven't run into this issue until starting a new project with the latest version of php & Laravel
Already been fixed. Sorry!
If you run into this issue: the current tagged versions do not have this fix. Set php-pm/httpkernel-adapter
to dev-master
and you're good to go!
Tagged 1.0.6 to take care
The exception was: ArgumentCountError: ReflectionMethod::__construct() expects exactly 1 parameter, 2 given in /Users/seateng/Projects/Seateng/labs/laravel/laravel_ppm/vendor/php-pm/httpkernel-adapter/Bootstraps/Laravel.php:165
$method = new \ReflectionMethod(get_class($this->app), ['name' => 'register']); to: $method = new \ReflectionMethod(get_class($this->app), 'register');
Running!