Skip to content

Commit

Permalink
stan
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 18, 2023
1 parent 15ba5d4 commit 069cdda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions framework/core/src/Extend/Conditional.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ public function extend(Container $container, Extension $extension = null): void
if ($condition['condition']) {
$extenders = $condition['extenders'];

if (is_string($extenders) || is_callable($extenders)) {
$extenders = $container->call($extenders);
}
$extenders = $container->call($extenders);

foreach ($extenders as $extender) {
$extender->extend($container, $extension);
Expand Down

0 comments on commit 069cdda

Please sign in to comment.