Test Setup Failed
Push — master ( 40b3cc...1845a6 )
by Chauncey
02:32
created
src/Charcoal/Property/AbstractProperty.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -351,13 +351,13 @@  discard block
 block discarded – undo
351 351
                 return $val;
352 352
             }
353 353
 
354
-            $val = array_map([ $this, 'parseOne' ], $val);
354
+            $val = array_map([$this, 'parseOne'], $val);
355 355
         } else {
356 356
             if ($this['l10n']) {
357 357
                 $val = $this->parseValAsL10n($val);
358 358
 
359 359
                 if ($val) {
360
-                    $val->sanitize([ $this, 'parseOne' ]);
360
+                    $val->sanitize([$this, 'parseOne']);
361 361
                 }
362 362
             } else {
363 363
                 $val = $this->parseOne($val);
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
     public function getLabel()
479 479
     {
480 480
         if ($this->label === null) {
481
-            return ucwords(str_replace([ '.', '_' ], ' ', $this->ident()));
481
+            return ucwords(str_replace(['.', '_'], ' ', $this->ident()));
482 482
         }
483 483
 
484 484
         return $this->label;
Please login to merge, or discard this patch.