Skip to content
Snippets Groups Projects
Verified Commit 1e4a3581 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

fix: load extension bindings

parent 261a1101
No related branches found
No related tags found
No related merge requests found
......@@ -109,9 +109,7 @@ final class Kernel {
private function prepare_driver( ContainerInterface $container ): HookDriver {
$loader = new CompositeBindingLoader();
foreach ( $this->extensions as $extension ) {
foreach ($extension->bindings($container) as $bindings) {
$loader->add($bindings);
}
$loader->add( $extension->bindings( $container ) );
}
$driver = new GenericDriver(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment