Completed
Push — master ( c57fe7...97cc01 )
by Cheren
07:15
created
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/View/Helper/DocumentHelper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -79,11 +79,11 @@
 block discarded – undo
79 79
 
80 80
         $classes = [
81 81
             $prefix,
82
-            'theme-'    . Str::low($this->_View->theme),
83
-            'plugin-'   . Str::low($this->_View->plugin),
84
-            'view-'     . Str::low($this->_View->name),
85
-            'tmpl-'     . Str::low($this->_View->template),
86
-            'layout-'   . Str::low($this->_View->layout),
82
+            'theme-' . Str::low($this->_View->theme),
83
+            'plugin-' . Str::low($this->_View->plugin),
84
+            'view-' . Str::low($this->_View->name),
85
+            'tmpl-' . Str::low($this->_View->template),
86
+            'layout-' . Str::low($this->_View->layout),
87 87
         ];
88 88
 
89 89
         $pass = (array) $this->request->getParam('pass');
Please login to merge, or discard this patch.
src/Cms.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * Merge configure values by key.
50 50
      *
51 51
      * @param string $key
52
-     * @param array|string $config
52
+     * @param string $config
53 53
      * @return array|mixed
54 54
      */
55 55
     public static function mergeConfig($key, $config)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,11 +68,11 @@
 block discarded – undo
68 68
      */
69 69
     protected function _initialize()
70 70
     {
71
-        $this['path'] = function () {
71
+        $this['path'] = function() {
72 72
             return $this->_initPaths();
73 73
         };
74 74
 
75
-        $this['helper'] = function () {
75
+        $this['helper'] = function() {
76 76
             return new HelperManager();
77 77
         };
78 78
     }
Please login to merge, or discard this patch.
src/Helper/Manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         $id = (string) $id;
107 107
         if (class_exists($className)) {
108 108
             self::$_loaded[$id] = $className;
109
-            $this[$id] = function () use ($className) {
109
+            $this[$id] = function() use ($className) {
110 110
                 return new $className();
111 111
             };
112 112
         } else {
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.
src/View/Helper/HtmlHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@
 block discarded – undo
255 255
             'entity' => $entity,
256 256
         ], $data);
257 257
 
258
-        return $this->_View->element('Core.' .  __FUNCTION__, $data);
258
+        return $this->_View->element('Core.' . __FUNCTION__, $data);
259 259
     }
260 260
 
261 261
     /**
Please login to merge, or discard this patch.
src/Controller/Component/MoveComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * @param array|string $key
61 61
      * @param null|mixed $value
62 62
      * @param bool $merge
63
-     * @return mixed
63
+     * @return MoveComponent
64 64
      * @throws \Cake\Core\Exception\Exception When trying to set a key that is invalid.
65 65
      */
66 66
     public function setConfig($key, $value = null, $merge = true)
Please login to merge, or discard this patch.