Skip to content

Commit

Permalink
Merge pull request #156 from ergebnis/fix/condition
Browse files Browse the repository at this point in the history
Fix: Remove useless condition
  • Loading branch information
ergebnis-bot committed Apr 2, 2020
2 parents db23945 + 6f7712a commit e2749ef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/FixtureFactory.php
Expand Up @@ -122,10 +122,6 @@ public function defineEntity(string $className, array $fieldDefinitions = [], ?\
$fieldName
);

if (null === $defaultFieldValue) {
$fieldDefinitions[$fieldName] = FieldDefinition::value(null);
}

$fieldDefinitions[$fieldName] = FieldDefinition::value($defaultFieldValue);
}

Expand Down

0 comments on commit e2749ef

Please sign in to comment.