Skip to content

Commit

Permalink
Remove call_user_func usage
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Sep 28, 2016
1 parent 173f7ed commit 6ecf3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/ServiceCollectionsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function overrideCollection($type, $tag, callable $factory)
);
}

$this->overrides[$type][$tag] = call_user_func($factory, $this->getCollection($type, $tag));
$this->overrides[$type][$tag] = $factory($this->getCollection($type, $tag));
}

public function loadConfiguration()
Expand Down

0 comments on commit 6ecf3af

Please sign in to comment.