Completed
Push — master ( 6dbf66...916316 )
by Mikołaj
07:04 queued 03:33
created
src/module/Articles/One/Admin/EditForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     }
20 20
 
21 21
     /**
22
-     * @return int
22
+     * @return boolean
23 23
      * @throws \Exception
24 24
      */
25 25
     public function update()
Please login to merge, or discard this patch.
src/module/Categories/One/Admin/AddForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return int
24
+     * @return false|string
25 25
      * @throws \Exception
26 26
      */
27 27
     public function save()
Please login to merge, or discard this patch.
src/module/Galleries/One/Admin/AddForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return int
24
+     * @return false|string
25 25
      * @throws \Exception
26 26
      */
27 27
     public function add()
Please login to merge, or discard this patch.
src/module/Pages/One/Admin/AddForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     }
22 22
 
23 23
     /**
24
-     * @return int
24
+     * @return false|string
25 25
      * @throws \Exception
26 26
      */
27 27
     public function save()
Please login to merge, or discard this patch.
src/module/Tools/Admin/One/DatabaseImport/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $tables = $this->pdo->query('SHOW TABLES');
12 12
 
13 13
         foreach ($tables as $table) {
14
-            $this->pdo->exec('DROP TABLE IF EXISTS ' . $table[0]);
14
+            $this->pdo->exec('DROP TABLE IF EXISTS '.$table[0]);
15 15
         }
16 16
     }
17 17
 
Please login to merge, or discard this patch.
src/module/Tools/Admin/One/DatabaseImport/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 if ($queries) {
43 43
                     AlertsCollection::add(new Alert(
44 44
                         'success',
45
-                        'Poprawnie zaimportowano ' . $file['name'].'! Wykonano '.$queries.' zapytań.'
45
+                        'Poprawnie zaimportowano '.$file['name'].'! Wykonano '.$queries.' zapytań.'
46 46
                     ));
47 47
                     $this->redirectTo(DIR.'/admin/tools/db-import');
48 48
                 } else {
Please login to merge, or discard this patch.
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.
src/framework/View/AdminView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * @param int $nesting
96 96
      * @param array $classes
97
-     * @return bool|string
97
+     * @return false|string
98 98
      */
99 99
     public function breadcrumb($nesting = 0, array $classes = [])
100 100
     {
Please login to merge, or discard this patch.