Passed
Push — main ( 7ee73e...ea7c68 )
by Thierry
08:09
created
src/Scope/UiBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function addTagBuilder(string $tagPrefix, Closure $tagBuilder)
55 55
     {
56 56
         // Do not overwrite existing builders.
57
-        if(!isset($this->tagBuilders[$tagPrefix]))
57
+        if (!isset($this->tagBuilders[$tagPrefix]))
58 58
         {
59 59
             $this->tagBuilders[$tagPrefix] = $tagBuilder;
60 60
         }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public function make(string $method, array $arguments)
71 71
     {
72 72
         $tagName = strtolower(preg_replace('/(?<!^)([A-Z])/', '-$1', $method));
73
-        foreach($this->tagBuilders as $tagPrefix => $tagBuilder)
73
+        foreach ($this->tagBuilders as $tagPrefix => $tagBuilder)
74 74
         {
75 75
             if (stripos($tagName, $tagPrefix . '-') === 0) {
76 76
                 $tagName = substr($tagName, strlen($tagPrefix) + 1);
Please login to merge, or discard this patch.