Passed
Push — main ( 91b103...f1f4db )
by Tom
01:03 queued 13s
created
src/Criteria/Type/BetweenInputObjectType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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([
Please login to merge, or discard this patch.
src/Input/InputFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.