-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
httpkernel-adapter/Bootstraps/Laravel.php:165 Exception #142
Comments
I‘m confused- this class has 2 constructors? See http://php.net/manual/en/reflectionmethod.construct.php |
Yeah, but it does not have |
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 |
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!
The text was updated successfully, but these errors were encountered: