Completed
Push — master ( b6c98a...a2479f )
by Cheren
01:58
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/HelperTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * Create current icon.
62 62
      *
63 63
      * @param HtmlHelper $html
64
-     * @param string|int $title
64
+     * @param string|null $title
65 65
      * @param array $options
66 66
      * @return array
67 67
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use JBZoo\Utils\Arr;
19 19
 use JBZoo\Utils\Str;
20 20
 use Cake\Utility\Hash;
21
-use Cake\Core\Configure;
22 21
 use Core\View\Helper\HtmlHelper;
23 22
 
24 23
 /**
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/View/AppView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Get current form view.
128 128
      *
129 129
      * @param null|string $view
130
-     * @return null
130
+     * @return string|null
131 131
      */
132 132
     protected function _getFormView($view = null)
133 133
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * Finds an partial filename, returns false on failure.
143 143
      *
144 144
      * @param string $name
145
-     * @return bool|string
145
+     * @return string|false
146 146
      */
147 147
     protected function _getLayoutPartialPath($name)
148 148
     {
Please login to merge, or discard this patch.
src/View/Helper/FormHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     protected function _addDefaultContextProviders()
175 175
     {
176
-        $this->addContextProvider('orm', function ($request, $data) {
176
+        $this->addContextProvider('orm', function($request, $data) {
177 177
             if (is_array($data['entity']) || $data['entity'] instanceof \Traversable) {
178 178
                 $pass = (new Collection($data['entity']))->first() !== null;
179 179
                 if ($pass) {
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
      */
214 214
     protected function _addFormArrayProvider()
215 215
     {
216
-        $this->addContextProvider('array', function ($request, $data) {
216
+        $this->addContextProvider('array', function($request, $data) {
217 217
             if (is_array($data['entity']) && isset($data['entity']['schema'])) {
218 218
                 return new ArrayContext($request, $data['entity']);
219 219
             }
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
      */
228 228
     protected function _addFormContextProvider()
229 229
     {
230
-        $this->addContextProvider('form', function ($request, $data) {
230
+        $this->addContextProvider('form', function($request, $data) {
231 231
             if ($data['entity'] instanceof Form) {
232 232
                 return new FormContext($request, $data);
233 233
             }
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.