Skip to content

Commit

Permalink
Revert "Merge remote branch 'lsmith77/prevent_redundant_DI_method_cal…
Browse files Browse the repository at this point in the history
…ls'"

This reverts commit 0d61ae0, reversing
changes made to 8e3d125.
  • Loading branch information
fabpot committed Apr 13, 2011
1 parent 227c874 commit fa6961b
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -76,9 +76,7 @@ public function processDefinition(Definition $definition, $class = null)

foreach ($this->calls as $callback) {
list($method, $arguments) = $callback;
if (!$definition->hasMethodCall($method)) {
$definition->addMethodCall($method, $arguments);
}
$definition->addMethodCall($method, $arguments);
}

$this->processedDefinitions[] = $definition;
Expand Down

0 comments on commit fa6961b

Please sign in to comment.