Skip to content

Commit

Permalink
Fix #142
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Sep 28, 2018
1 parent 2ea7106 commit f6d1250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bootstraps/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected function resetProvider($providerName)
protected function appRegister($providerName, $force = false)
{
if (!$this->appRegisterParameters) {
$method = new \ReflectionMethod(get_class($this->app), ['name' => 'register']);
$method = new \ReflectionMethod(get_class($this->app), 'register');
$this->appRegisterParameters = count($method->getParameters());
}

Expand Down

0 comments on commit f6d1250

Please sign in to comment.