Skip to content

Commit

Permalink
Fix: Remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Apr 2, 2020
1 parent db23945 commit 6f7712a
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 6f7712a

Please sign in to comment.