Skip to content

Commit

Permalink
main
Browse files Browse the repository at this point in the history
  • Loading branch information
6562680 committed May 25, 2024
1 parent a0f5e71 commit 76f3383
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Injector/Injector.php
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ public function makeItem(Id $id, array $parameters = []) : object
$callablesOrdered += $callables;
}

ksort($callablesOrdered);

foreach ( $callablesOrdered as $callable ) {
$this->autowireFunctionCall($callable, [ $instance ]);
}
Expand Down

0 comments on commit 76f3383

Please sign in to comment.