Completed
Push — master ( 7bdd8d...a18ca2 )
by Oleg
04:39
created
src/Contracts/Builder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @internal param string $name
24 24
      */
25 25
     function __construct(Container $container, Attributes $attributes, Attributes $activeAttributes,
26
-                         $type = self::UL, $view = null);
26
+                            $type = self::UL, $view = null);
27 27
 
28 28
     /**
29 29
      * @param string $name
Please login to merge, or discard this patch.
tests/stub/another.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,10 @@
 block discarded – undo
2 2
     <?php if ($menu) :?>
3 3
         <<?php echo $menu->getType() . $menu->buildAttributes();?>>
4 4
             <?php foreach ($menu->all() as $element) :?>
5
-                <?php if ($element instanceof \Malezha\Menu\Contracts\ElementFactory) $element = $element->build(); ?>
5
+                <?php if ($element instanceof \Malezha\Menu\Contracts\ElementFactory) {
6
+    $element = $element->build();
7
+}
8
+?>
6 9
                 <?php echo $element->render($renderView);?>
7 10
             <?php endforeach;?>
8 11
         </<?php echo $menu->getType();?>>
Please login to merge, or discard this patch.
views/view.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,10 @@
 block discarded – undo
1 1
 <?php if ($menu) :?>
2 2
     <<?= $menu->getType() . $menu->buildAttributes();?>>
3 3
         <?php foreach ($menu->all() as $element) :?>
4
-            <?php if ($element instanceof \Malezha\Menu\Contracts\ElementFactory) $element = $element->build(); ?>
4
+            <?php if ($element instanceof \Malezha\Menu\Contracts\ElementFactory) {
5
+    $element = $element->build();
6
+}
7
+?>
5 8
             <?= $element->render($renderView);?>
6 9
         <?php endforeach;?>
7 10
     </<?= $menu->getType();?>>
Please login to merge, or discard this patch.