Skip to content

Commit

Permalink
Merge pull request #73 from iGroovyboy/static_call
Browse files Browse the repository at this point in the history
Self to Static to allow call of the createControllerInvoker() from a child class
  • Loading branch information
mnapoli authored May 26, 2021
2 parents c118174 + f22d7c3 commit ad74ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function create(ContainerInterface $container = null): App

$container->set(App::class, $app);

$controllerInvoker = self::createControllerInvoker($container);
$controllerInvoker = static::createControllerInvoker($container);
$app->getRouteCollector()->setDefaultInvocationStrategy($controllerInvoker);

return $app;
Expand Down

0 comments on commit ad74ba0

Please sign in to comment.