Completed
Push — master ( c57fe7...97cc01 )
by Cheren
07:15
created
src/Utility/Macros.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@
 block discarded – undo
69 69
     /**
70 70
      * Add new value in list.
71 71
      *
72
-     * @param string|int $key
73
-     * @param string|int $val
72
+     * @param string $key
73
+     * @param string $val
74 74
      * @return $this
75 75
      */
76 76
     public function set($key, $val)
Please login to merge, or discard this patch.
src/Controller/Component/ProcessComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
      * Create and merge actual process options.
214 214
      *
215 215
      * @param array $options
216
-     * @param int|string $count
216
+     * @param integer $count
217 217
      * @return array
218 218
      */
219 219
     protected function _getOptions(array $options, $count)
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.
src/Migration/Manager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use JBZoo\Data\Data;
22 22
 use JBZoo\Utils\Arr;
23 23
 use Phinx\Config\Config;
24
-use Cake\Core\Configure;
25 24
 use Phinx\Db\Adapter\AdapterFactory;
26 25
 use Phinx\Migration\AbstractMigration;
27 26
 use Cake\Datasource\ConnectionManager;
Please login to merge, or discard this patch.
src/Migration/Migration.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         }
70 70
 
71 71
         return $data;
72
-     }
72
+        }
73 73
 
74 74
     /**
75 75
      * 
Please login to merge, or discard this patch.
plugin.manifest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         'description' => 'Core plugin for UnionCMS'
31 31
     ],
32 32
 
33
-    'Controller.initialize' => function (Controller $controller) {
33
+    'Controller.initialize' => function(Controller $controller) {
34 34
         $controller->loadComponent('Csrf');
35 35
         $controller->loadComponent('Cookie');
36 36
         $controller->loadComponent('Security', [
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         ]);
47 47
     },
48 48
 
49
-    'View.initialize' => function (AppView $view) {
49
+    'View.initialize' => function(AppView $view) {
50 50
         $view->loadHelper('Core.Nav');
51 51
         $view->loadHelper('Core.Less');
52 52
         $view->loadHelper('Core.Assets');
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $view->loadHelper('Html', ['className' => 'Core.Html']);
57 57
         $view->loadHelper('Form', [
58 58
             'className' => 'Core.Form',
59
-            'prepareBtnClass' => function (FormHelper $html, $options, $button) {
59
+            'prepareBtnClass' => function(FormHelper $html, $options, $button) {
60 60
                 $options = $html->addClass($options, 'waves-effect waves-light btn');
61 61
                 if (!empty($button)) {
62 62
                     $options = $html->addClass($options, Str::trim((string) $button));
Please login to merge, or discard this patch.