Completed
Push — master ( 363ead...e52e2c )
by Oleg
06:33
created
src/Entity/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
     }
228 228
 
229 229
     /**
230
-     * @param $html
230
+     * @param string $html
231 231
      * @return mixed
232 232
      */
233 233
     protected function minifyHtmlOutput($html)
Please login to merge, or discard this patch.
views/view.blade.php 1 patch
Braces   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,12 @@
 block discarded – undo
1 1
 @if ($menu)
2 2
     <{{ $menu->getType() }}{!! $menu->buildAttributes() !!}>
3 3
     @foreach ($menu->all() as $value)
4
-        <?php $isGroup = $value instanceof \Malezha\Menu\Contracts\Group; if ($isGroup) $item = $value->getItem(); else $item = $value; ?>
4
+        <?php $isGroup = $value instanceof \Malezha\Menu\Contracts\Group; if ($isGroup) {
5
+    $item = $value->getItem();
6
+} else {
7
+    $item = $value;
8
+}
9
+?>
5 10
         @if($item->canDisplay())
6 11
         <li{!! $item->buildAttributes() !!}>
7 12
             <a href="{{ $item->getLink()->getUrl() }}"{!! $item->getLink()->buildAttributes() !!}>{!! $item->getLink()->getTitle() !!}</a>
Please login to merge, or discard this patch.