@@ -14,7 +14,6 @@ |
||
14 | 14 | */ |
15 | 15 | namespace Cake\Shell\Task; |
16 | 16 | |
17 | -use Cake\Console\ConsoleOptionParser; |
|
18 | 17 | use Cake\Console\Shell; |
19 | 18 | use Cake\Core\App; |
20 | 19 | use Cake\Core\Plugin; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | namespace Cake\TestSuite\Fixture; |
15 | 15 | |
16 | 16 | use Cake\Core\Exception\Exception as CakeException; |
17 | -use Cake\Database\Driver\Sqlite; |
|
18 | 17 | use Cake\Database\Schema\Table; |
19 | 18 | use Cake\Datasource\ConnectionInterface; |
20 | 19 | use Cake\Datasource\ConnectionManager; |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | * - `ym` 2006/12 or 06/12 separators can be a space, period, dash, forward slash |
351 | 351 | * - `y` 2006 just the year without any separators |
352 | 352 | * |
353 | - * @param string|\DateTime $check a valid date string/object |
|
353 | + * @param string $check a valid date string/object |
|
354 | 354 | * @param string|array $format Use a string or an array of the keys above. |
355 | 355 | * Arrays should be passed as ['dmy', 'mdy', etc] |
356 | 356 | * @param string|null $regex If a custom regular expression is used this is the only validation that will occur. |
@@ -445,7 +445,7 @@ discard block |
||
445 | 445 | * Validates time as 24hr (HH:MM) or am/pm ([H]H:MM[a|p]m) |
446 | 446 | * Does not allow/validate seconds. |
447 | 447 | * |
448 | - * @param string|\DateTime $check a valid time string/object |
|
448 | + * @param string $check a valid time string/object |
|
449 | 449 | * @return bool Success |
450 | 450 | */ |
451 | 451 | public static function time($check) |
@@ -846,7 +846,7 @@ discard block |
||
846 | 846 | /** |
847 | 847 | * Luhn algorithm |
848 | 848 | * |
849 | - * @param string|array $check Value to check. |
|
849 | + * @param string $check Value to check. |
|
850 | 850 | * @param bool $deep If true performs deep check. |
851 | 851 | * @return bool Success |
852 | 852 | * @see http://en.wikipedia.org/wiki/Luhn_algorithm |
@@ -201,7 +201,7 @@ |
||
201 | 201 | /** |
202 | 202 | * The view theme to use. |
203 | 203 | * |
204 | - * @param string|null|false $theme Theme name. If null returns current theme. |
|
204 | + * @param string|false $theme Theme name. If null returns current theme. |
|
205 | 205 | * Use false to remove the current theme. |
206 | 206 | * @return string|$this |
207 | 207 | */ |
@@ -15,7 +15,6 @@ |
||
15 | 15 | |
16 | 16 | use Cake\Cache\CacheEngine; |
17 | 17 | use Cake\Cache\CacheRegistry; |
18 | -use Cake\Core\App; |
|
19 | 18 | use DebugKit\DebugTimer; |
20 | 19 | |
21 | 20 | /** |
@@ -15,8 +15,6 @@ |
||
15 | 15 | namespace Cake\View; |
16 | 16 | |
17 | 17 | use Cake\Core\Configure; |
18 | -use Cake\Event\EventManager; |
|
19 | -use Cake\Network\Request; |
|
20 | 18 | use Cake\Network\Response; |
21 | 19 | use Cake\Utility\Hash; |
22 | 20 | use Cake\Utility\Xml; |
@@ -77,7 +77,7 @@ |
||
77 | 77 | * of name => value |
78 | 78 | * |
79 | 79 | * @param string $url The URL to find cookies for. |
80 | - * @return array |
|
80 | + * @return string |
|
81 | 81 | */ |
82 | 82 | public function get($url) |
83 | 83 | { |
@@ -33,7 +33,7 @@ |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
36 | - * @return mixed |
|
36 | + * @return OutputInterface |
|
37 | 37 | */ |
38 | 38 | public function output(OutputInterface $output = null) |
39 | 39 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Migrations\ConfigurationTrait; |
15 | 15 | use Phinx\Console\Command\Status as StatusCommand; |
16 | -use Symfony\Component\Console\Input\InputArgument; |
|
17 | 16 | use Symfony\Component\Console\Input\InputInterface; |
18 | 17 | use Symfony\Component\Console\Input\InputOption; |
19 | 18 | use Symfony\Component\Console\Output\OutputInterface; |
@@ -83,7 +83,7 @@ |
||
83 | 83 | /** |
84 | 84 | * Will output the status of the migrations |
85 | 85 | * |
86 | - * @param array $migrations |
|
86 | + * @param integer $migrations |
|
87 | 87 | * @return void |
88 | 88 | */ |
89 | 89 | protected function display(array $migrations) |