Skip to content

Commit

Permalink
ContainerBuilder: fixed reseting of $currentService [Closes #70]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed May 6, 2015
1 parent 819cb01 commit 0282a67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DI/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ private function generateService($name)
}
$code .= $this->formatStatement($setup) . ";\n";
}
$this->currentService = NULL;

$code .= 'return $service;';

Expand Down

0 comments on commit 0282a67

Please sign in to comment.