diff --git a/src/Faker/ORM/Spot/EntityPopulator.php b/src/Faker/ORM/Spot/EntityPopulator.php index 7de8a27cbb..d59cf56fe7 100644 --- a/src/Faker/ORM/Spot/EntityPopulator.php +++ b/src/Faker/ORM/Spot/EntityPopulator.php @@ -123,7 +123,7 @@ public function guessColumnFormatters(Generator $generator) $columnTypeGuesser = new ColumnTypeGuesser($generator); $fields = $this->mapper->fields(); foreach ($fields as $fieldName => $field) { - if ($field['primary'] == true) { + if ($field['primary'] === true) { continue; } if ($formatter = $nameGuesser->guessFormat($fieldName)) {