Passed
Push — master ( 62019a...996898 )
by Nicolaas
38:34 queued 27:00
created
src/Forms/CMSNicetiesEasyRelationshipField.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
                     $this->getGridFieldConfig->removeComponentsByType(GridFieldAddNewButton::class);
387 387
                 }
388 388
 
389
-                if (! $this->hasAddExisting) {
389
+                if (!$this->hasAddExisting) {
390 390
                     $this->getGridFieldConfig->removeComponentsByType(GridFieldAddExistingAutocompleter::class);
391 391
                 }
392 392
 
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
 
494 494
     protected function listIsEmpty(): bool
495 495
     {
496
-        return ! $this->children || ($this->children instanceof FieldList && ! $this->children->exists());
496
+        return !$this->children || ($this->children instanceof FieldList && !$this->children->exists());
497 497
     }
498 498
 
499 499
     protected function checkIfFieldsHaveBeenBuilt()
@@ -575,7 +575,7 @@  discard block
 block discarded – undo
575 575
 
576 576
         // do we need it because we do not have a checkboxset?
577 577
         //we can go without!
578
-        return ! $this->hasCheckboxSet();
578
+        return !$this->hasCheckboxSet();
579 579
     }
580 580
 
581 581
     private function getSortField(): string
Please login to merge, or discard this patch.