Test Failed
Push — master ( 442210...9df3f0 )
by Evgenii
02:49
created
src/Breadcrumbs.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,10 +23,11 @@
 block discarded – undo
23 23
 
24 24
     public function addElement(string $name, string $url = null): self
25 25
     {
26
-        if ($url)
27
-            $this->elements[$url] = $name;
28
-        else
29
-            array_push($this->elements, $name);
26
+        if ($url) {
27
+                    $this->elements[$url] = $name;
28
+        } else {
29
+                    array_push($this->elements, $name);
30
+        }
30 31
         return $this;
31 32
     }
32 33
 
Please login to merge, or discard this patch.