Completed
Push — master ( d7cd82...c94b19 )
by Mikołaj
04:50
created
src/component/Html/Navigation.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Set active elements slugs, use to mark current items.
67 67
      *
68
-     * @param array|string $currents
68
+     * @param string $currents
69 69
      */
70 70
     public function setCurrent($currents)
71 71
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * Menu creator.
87 87
      * @link   http://pastebin.com/GAFvSew4
88 88
      * @author J. Bruni - original author
89
-     * @return string|bool
89
+     * @return false|string
90 90
      */
91 91
     public function create()
92 92
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @param array $items
301
+     * @param MenuItem[] $items
302 302
      *
303 303
      * @return MenuItem[]
304 304
      */
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
     }
461 461
 
462 462
     /**
463
-     * @return mixed
463
+     * @return integer
464 464
      */
465 465
     public function getNesting()
466 466
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
      */
295 295
     public function setRootID($id)
296 296
     {
297
-        $this->rootID = (int)$id;
297
+        $this->rootID = (int) $id;
298 298
     }
299 299
 
300 300
     /**
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     {
307 307
         usort(
308 308
             $items,
309
-            function ($a, $b) {
309
+            function($a, $b) {
310 310
                 /** @var MenuItem $a */
311 311
                 /** @var MenuItem $b */
312 312
                 return $a->getPosition() > $b->getPosition();
Please login to merge, or discard this patch.
src/module/Appearance/Menu/Navigation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * Menu creator.
12 12
      * @link   http://pastebin.com/GAFvSew4
13 13
      * @author J. Bruni - original author
14
-     * @return string|bool
14
+     * @return false|string
15 15
      */
16 16
     public function create()
17 17
     {
Please login to merge, or discard this patch.