Completed
Push — master ( 2e23b1...8d46ac )
by Cheren
01:37
created
src/View/Helper/LessHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      *
193 193
      * @param string $path
194 194
      * @param string $fileHead
195
-     * @return mixed
195
+     * @return string
196 196
      */
197 197
     protected function _normalizeContent($path, $fileHead)
198 198
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
      * Preg replace url.
236 236
      *
237 237
      * @param string $css
238
-     * @return mixed
238
+     * @return string
239 239
      */
240 240
     protected function _replaceUrl($css)
241 241
     {
Please login to merge, or discard this patch.
src/Nav.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
     /**
193 193
      * Clear menu items.
194 194
      *
195
-     * @param $menu
195
+     * @param string $menu
196 196
      * @throws \UnexpectedValueException
197 197
      */
198 198
     protected static function _clear($menu)
Please login to merge, or discard this patch.
src/View/Helper/Traits/IncludeTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
      * @param string|array $path
180 180
      * @param array $options
181 181
      * @param string $type
182
-     * @return bool|null|string
182
+     * @return string|null
183 183
      */
184 184
     protected function _include($path, array $options = [], $type = 'css')
185 185
     {
Please login to merge, or discard this patch.
src/View/Helper/JsHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 
77 77
         if (count($this->_buffers)) {
78 78
             $scripts = $docEol .
79
-                'jQuery (function($) {'  . $docEol .
79
+                'jQuery (function($) {' . $docEol .
80 80
                 implode($docEol, $this->_buffers) . $docEol .
81 81
                 '});' . $docEol;
82 82
 
Please login to merge, or discard this patch.
src/ORM/Table.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use JBZoo\Data\JSON;
19 19
 use Cake\Event\Event;
20
-use Cake\Database\Type;
21 20
 use Cake\ORM\Table as CakeTable;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/Event/EventManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      * Emits an event.
73 73
      *
74 74
      * @param string $name
75
-     * @param object|null $subject
75
+     * @param \Cake\Controller\Controller $subject
76 76
      * @param array|null $data
77 77
      * @return Event
78 78
      */
Please login to merge, or discard this patch.
src/Utility/Toolbar.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
      *
211 211
      * @param string $plugin
212 212
      * @param string $aliasClass
213
-     * @return bool|string
213
+     * @return string|false
214 214
      */
215 215
     protected function _getItemClassName($plugin, $aliasClass)
216 216
     {
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Cake\Routing\Router;
17 17
 use Cake\Routing\RouteBuilder;
18 18
 
19
-Router::plugin('Core', ['path' => '/'], function (RouteBuilder $routeBuilder) {
20
-    $routeBuilder->prefix('admin', function (RouteBuilder $routeBuilder) {
19
+Router::plugin('Core', ['path' => '/'], function(RouteBuilder $routeBuilder) {
20
+    $routeBuilder->prefix('admin', function(RouteBuilder $routeBuilder) {
21 21
         $routeBuilder->connect('/:controller/:action/*', []);
22 22
         $routeBuilder->connect('/', ['controller' => 'Root', 'action' => 'dashboard']);
23 23
     });
Please login to merge, or discard this patch.
src/Path/Path.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
                             continue;
145 145
                         }
146 146
 
147
-                        $files[] = $prefix.$file;
147
+                        $files[] = $prefix . $file;
148 148
                     }
149 149
                 }
150 150
             }
Please login to merge, or discard this patch.