Passed
Pull Request — main (#117)
by Tom
03:19
created
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.