Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge 68ebf7c into 6ec8c7f
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 8, 2018
2 parents 6ec8c7f + 68ebf7c commit 6fcffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeGenerator/FactoryGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function buildParametersCode(string $type)
$tab = str_repeat(' ', $intention);
$code = '';

if (count($withOptions)) {
if ($withOptions) {
// Build conditional initializer code:
// If no $params were provided ignore it completely
// otherwise check if there is a value for each dependency in $params.
Expand Down

0 comments on commit 6fcffdf

Please sign in to comment.