@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | class BetweenInputObjectType extends InputObjectType |
14 | 14 | { |
15 | - public function __construct(string $typeName, string $fieldName, ScalarType|ListOfType $type) |
|
15 | + public function __construct(string $typeName, string $fieldName, ScalarType | ListOfType $type) |
|
16 | 16 | { |
17 | 17 | $fields = [ |
18 | 18 | 'from' => new InputObjectField([ |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * no reason to set or update an identifier. For the case where an identifier |
47 | 47 | * should be set or updated, this facotry is not the correct solution. |
48 | 48 | */ |
49 | - if (! empty($optionalFields) || ! empty($requiredFields)) { |
|
49 | + if (!empty($optionalFields) || !empty($requiredFields)) { |
|
50 | 50 | // Include field as optional |
51 | 51 | if (in_array($fieldName, $optionalFields) || $optionalFields === ['*']) { |
52 | 52 | if ($optionalFields === ['*'] && $this->entityManager->getClassMetadata($id)->isIdentifier($fieldName)) { |