@@ -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 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace App\Model\Table; |
4 | 4 | |
5 | 5 | use Cake\ORM\Table; |
6 | -use App\Model\AppModel; |
|
7 | 6 | use Cake\Model\Model; |
8 | 7 | use Cake\Routing\Router; |
9 | 8 | use Cake\ORM\TableRegistry; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Contrib\Bundle\CoverallsV1Bundle\Collector; |
3 | 3 | |
4 | 4 | use Contrib\Component\System\Git\GitCommand; |
5 | - |
|
6 | 5 | use Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Git; |
7 | 6 | use Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Commit; |
8 | 7 | use Contrib\Bundle\CoverallsV1Bundle\Entity\Git\Remote; |
@@ -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 | { |