@@ -19,7 +19,6 @@ |
||
19 | 19 | class TableSeparator extends TableCell |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param string $value |
|
23 | 22 | * @param array $options |
24 | 23 | */ |
25 | 24 | public function __construct(array $options = array()) |
@@ -49,6 +49,11 @@ |
||
49 | 49 | require_once self::$fixturesPath.'/FooSubnamespaced2Command.php'; |
50 | 50 | } |
51 | 51 | |
52 | + /** |
|
53 | + * @param string $text |
|
54 | + * |
|
55 | + * @return string |
|
56 | + */ |
|
52 | 57 | protected function normalizeLineBreaks($text) |
53 | 58 | { |
54 | 59 | return str_replace(PHP_EOL, "\n", $text); |
@@ -592,6 +592,9 @@ |
||
592 | 592 | return new StreamOutput(fopen('php://memory', 'r+', false), $verbosity, $decorated); |
593 | 593 | } |
594 | 594 | |
595 | + /** |
|
596 | + * @param string $expected |
|
597 | + */ |
|
595 | 598 | protected function generateOutput($expected) |
596 | 599 | { |
597 | 600 | $count = substr_count($expected, "\n"); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * Adds a service as event listener. |
59 | 59 | * |
60 | 60 | * @param string $eventName Event for which the listener is added |
61 | - * @param array $callback The service ID of the listener service & the method |
|
61 | + * @param string[] $callback The service ID of the listener service & the method |
|
62 | 62 | * name that has to be called |
63 | 63 | * @param int $priority The higher this value, the earlier an event listener |
64 | 64 | * will be triggered in the chain. |
@@ -145,6 +145,9 @@ |
||
145 | 145 | return $a; |
146 | 146 | } |
147 | 147 | |
148 | + /** |
|
149 | + * @param integer $flags |
|
150 | + */ |
|
148 | 151 | private static function extractFlags($flags) |
149 | 152 | { |
150 | 153 | $flagsArray = array(); |
@@ -57,6 +57,9 @@ |
||
57 | 57 | ), |
58 | 58 | ); |
59 | 59 | |
60 | + /** |
|
61 | + * @param boolean $isNested |
|
62 | + */ |
|
60 | 63 | public static function castPdo(\PDO $c, array $a, Stub $stub, $isNested) |
61 | 64 | { |
62 | 65 | $attr = array(); |
@@ -150,6 +150,9 @@ discard block |
||
150 | 150 | return $a; |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param boolean $isNested |
|
155 | + */ |
|
153 | 156 | public static function castParameter(\ReflectionParameter $c, array $a, Stub $stub, $isNested) |
154 | 157 | { |
155 | 158 | $prefix = Caster::PREFIX_VIRTUAL; |
@@ -230,6 +233,9 @@ discard block |
||
230 | 233 | self::addMap($a, $c, self::$extraMap, ''); |
231 | 234 | } |
232 | 235 | |
236 | + /** |
|
237 | + * @param string $prefix |
|
238 | + */ |
|
233 | 239 | private static function addMap(&$a, \Reflector $c, $map, $prefix = Caster::PREFIX_VIRTUAL) |
234 | 240 | { |
235 | 241 | foreach ($map as $k => $m) { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * |
197 | 197 | * @param string $scalar |
198 | 198 | * @param string $delimiters |
199 | - * @param array $stringDelimiters |
|
199 | + * @param string[] $stringDelimiters |
|
200 | 200 | * @param int &$i |
201 | 201 | * @param bool $evaluate |
202 | 202 | * @param array $references |
@@ -247,6 +247,7 @@ discard block |
||
247 | 247 | * |
248 | 248 | * @param string $scalar |
249 | 249 | * @param int &$i |
250 | + * @param integer $i |
|
250 | 251 | * |
251 | 252 | * @return string A YAML string |
252 | 253 | * |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Cake\Core\Configure; |
17 | 17 | use Cake\Error\Debugger; |
18 | 18 | use Cake\Filesystem\File; |
19 | -use Cake\Log\Log; |
|
20 | 19 | use Cake\View\Helper; |
21 | 20 | |
22 | 21 | /** |