@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * |
| 133 | 133 | * An object of type PackagesInterface |
| 134 | 134 | * |
| 135 | - * @return PackagesInterface |
|
| 135 | + * @return PackageLocator |
|
| 136 | 136 | * |
| 137 | 137 | */ |
| 138 | 138 | public function getPackages() |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * |
| 145 | 145 | * object of type FormatterLocator |
| 146 | 146 | * |
| 147 | - * @return FormatterLocator |
|
| 147 | + * @return FormatterInterface |
|
| 148 | 148 | * |
| 149 | 149 | */ |
| 150 | 150 | public function getFormatters() |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * Override main() to handle action |
| 70 | 70 | * |
| 71 | - * @return mixed |
|
| 71 | + * @return boolean |
|
| 72 | 72 | */ |
| 73 | 73 | public function main() |
| 74 | 74 | { |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * Quickly bake the MVC |
| 212 | 212 | * |
| 213 | 213 | * @param string|null $name Name. |
| 214 | - * @return void |
|
| 214 | + * @return boolean |
|
| 215 | 215 | */ |
| 216 | 216 | public function all($name = null) |
| 217 | 217 | { |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | * Executes an external shell command and pipes its output to the stdout |
| 115 | 115 | * |
| 116 | 116 | * @param string $command the command to execute |
| 117 | - * @return void |
|
| 117 | + * @return false|null |
|
| 118 | 118 | * @throws \RuntimeException if any errors occurred during the execution |
| 119 | 119 | */ |
| 120 | 120 | public function callProcess($command) |
@@ -16,7 +16,6 @@ |
||
| 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; |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Execution method always used for tasks |
| 47 | 47 | * |
| 48 | 48 | * @param string|null $name The name of the controller to bake. |
| 49 | - * @return void |
|
| 49 | + * @return boolean|null |
|
| 50 | 50 | */ |
| 51 | 51 | public function main($name = null) |
| 52 | 52 | { |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | * Handles dispatching to interactive, named, or all processes. |
| 101 | 101 | * |
| 102 | 102 | * @param string|null $name The name of the fixture to bake. |
| 103 | - * @return void |
|
| 103 | + * @return boolean|null |
|
| 104 | 104 | */ |
| 105 | 105 | public function main($name = null) |
| 106 | 106 | { |
@@ -78,7 +78,7 @@ |
||
| 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 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -516,7 +516,7 @@ |
||
| 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 | { |