Completed
Pull Request — master (#97)
by Deven
18:18
created
vendor/cakephp/bake/src/Shell/Task/BakeTemplateTask.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 
17 17
 use Bake\View\BakeView;
18 18
 use Cake\Console\Shell;
19
-use Cake\Core\Configure;
20 19
 use Cake\Core\ConventionsTrait;
21 20
 use Cake\Event\Event;
22 21
 use Cake\Event\EventManager;
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/Shell/Task/ModelTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      * Execution method always used for tasks
79 79
      *
80 80
      * @param string|null $name The name of the table to bake.
81
-     * @return void
81
+     * @return boolean|null
82 82
      */
83 83
     public function main($name = null)
84 84
     {
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/Shell/Task/PluginTask.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Execution method always used for tasks
59 59
      *
60 60
      * @param string|null $name The name of the plugin to bake.
61
-     * @return void
61
+     * @return false|null
62 62
      */
63 63
     public function main($name = null)
64 64
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * Also update the autoloader and the root composer.json file if it can be found
86 86
      *
87 87
      * @param string $plugin Name of the plugin in CamelCased format
88
-     * @return bool
88
+     * @return null|boolean
89 89
      */
90 90
     public function bake($plugin)
91 91
     {
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
      * Search the $PATH for composer.
361 361
      *
362 362
      * @param array $path The paths to search.
363
-     * @return string|bool
363
+     * @return string|false
364 364
      */
365 365
     protected function _searchPath($path)
366 366
     {
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/Shell/Task/TestTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -516,7 +516,7 @@
 block discarded – undo
516 516
      *
517 517
      * @param string $type The Type of object you are generating tests for eg. controller
518 518
      * @param string $fullClassName The Classname of the class the test is being generated for.
519
-     * @return array An array containing used classes
519
+     * @return string[] An array containing used classes
520 520
      */
521 521
     public function generateUses($type, $fullClassName)
522 522
     {
Please login to merge, or discard this patch.
vendor/cakephp/bake/src/View/BakeView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @param string|null $view Name of view file to use, or a template string to render
107 107
      * @param string|null $layout Layout to use. Not used, for consistency with other views only
108
-     * @return string|null Rendered content.
108
+     * @return string Rendered content.
109 109
      * @throws \Cake\Core\Exception\Exception If there is an error in the view.
110 110
      */
111 111
     public function render($view = null, $layout = null)
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * Use the Bake prefix for bake related view events
134 134
      *
135 135
      * @param string $name Name of the event.
136
-     * @param array|null $data Any value you wish to be transported with this event to
136
+     * @param string[] $data Any value you wish to be transported with this event to
137 137
      * it can be read by listeners.
138 138
      *
139 139
      * @param object|null $subject The object that this event applies to
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Auth/BaseAuthenticate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
      * systems like basic and digest auth.
191 191
      *
192 192
      * @param \Cake\Network\Request $request Request object.
193
-     * @return mixed Either false or an array of user information
193
+     * @return boolean Either false or an array of user information
194 194
      */
195 195
     public function getUser(Request $request)
196 196
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Cache/CacheEngine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      * Generates a safe key for use with cache engine storage engines.
219 219
      *
220 220
      * @param string $key the key passed over
221
-     * @return bool|string string key or false
221
+     * @return false|string string key or false
222 222
      */
223 223
     public function key($key)
224 224
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * Generates a safe key, taking account of the configured key prefix
240 240
      *
241 241
      * @param string $key the key passed over
242
-     * @return mixed string $key or false
242
+     * @return string string $key or false
243 243
      * @throws \InvalidArgumentException If key's value is empty
244 244
      */
245 245
     protected function _key($key)
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
      * Generates a safe key for use with cache engine storage engines.
433 433
      *
434 434
      * @param string $key the key passed over
435
-     * @return mixed string $key or false
435
+     * @return string|boolean string $key or false
436 436
      */
437 437
     public function key($key)
438 438
     {
Please login to merge, or discard this patch.
vendor/cakephp/cakephp/src/Cache/Engine/RedisEngine.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
      *
162 162
      * @param string $key Identifier for the data
163 163
      * @param int $offset How much to increment
164
-     * @return bool|int New incremented value, false otherwise
164
+     * @return integer New incremented value, false otherwise
165 165
      */
166 166
     public function increment($key, $offset = 1)
167 167
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      *
176 176
      * @param string $key Identifier for the data
177 177
      * @param int $offset How much to subtract
178
-     * @return bool|int New decremented value, false otherwise
178
+     * @return integer New decremented value, false otherwise
179 179
      */
180 180
     public function decrement($key, $offset = 1)
181 181
     {
Please login to merge, or discard this patch.