Passed
Push — master ( df7081...f0a923 )
by Enjoys
02:14
created
src/FillHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,14 +15,14 @@  discard block
 block discarded – undo
15 15
     public function __construct(mixed $value, mixed $label, bool $useTitleAsValue = false)
16 16
     {
17 17
         if (is_array($label)) {
18
-            $this->label = (string)($label[0] ?? null);
18
+            $this->label = (string) ($label[0] ?? null);
19 19
 
20 20
             if (isset($label[1]) && is_array($label[1])) {
21 21
                 $this->attributes = $label[1];
22 22
             }
23 23
         }
24 24
 
25
-        $this->label ??= (string)$label;
25
+        $this->label ??= (string) $label;
26 26
 
27 27
         /** @since 2.4.0 */
28 28
         if (is_string($value)) {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
     public function getValue(): ?string
49 49
     {
50
-        return (string)$this->value;
50
+        return (string) $this->value;
51 51
     }
52 52
 
53 53
     public function getLabel(): ?string
Please login to merge, or discard this patch.