@@ -36,7 +36,7 @@ |
||
| 36 | 36 | /** |
| 37 | 37 | * Returns an array of tokens this test wants to listen for. |
| 38 | 38 | * |
| 39 | - * @return array |
|
| 39 | + * @return string[] |
|
| 40 | 40 | */ |
| 41 | 41 | public function register() |
| 42 | 42 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Returns an array of tokens this test wants to listen for. |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return integer[] |
|
| 46 | 46 | */ |
| 47 | 47 | public function register() |
| 48 | 48 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * Returns an array of tokens this test wants to listen for. |
| 52 | 52 | * |
| 53 | - * @return array |
|
| 53 | + * @return integer[] |
|
| 54 | 54 | */ |
| 55 | 55 | public function register() |
| 56 | 56 | { |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * application root. Parent directory of the application root are allowed |
| 135 | 135 | * but not mandatory. |
| 136 | 136 | * |
| 137 | - * @return string|bool The relative path from $appRoot to $filePath, or |
|
| 137 | + * @return false|string The relative path from $appRoot to $filePath, or |
|
| 138 | 138 | * false if $appRoot cannot be found in $filePath. |
| 139 | 139 | */ |
| 140 | 140 | private static function _getLocationPath ($filePath, $appRoot) |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Returns an array of tokens this test wants to listen for. |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return integer[] |
|
| 46 | 46 | */ |
| 47 | 47 | public function register() |
| 48 | 48 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Returns an array of tokens this test wants to listen for. |
| 37 | 37 | * |
| 38 | - * @return array |
|
| 38 | + * @return integer[] |
|
| 39 | 39 | */ |
| 40 | 40 | public function register() |
| 41 | 41 | { |
@@ -2,6 +2,10 @@ discard block |
||
| 2 | 2 | if ( ! function_exists('glob_recursive')) |
| 3 | 3 | { |
| 4 | 4 | // Does not support flag GLOB_BRACE |
| 5 | + |
|
| 6 | + /** |
|
| 7 | + * @param string $pattern |
|
| 8 | + */ |
|
| 5 | 9 | function glob_recursive($pattern, $flags = 0) |
| 6 | 10 | { |
| 7 | 11 | $files = glob($pattern, $flags); |
@@ -320,7 +324,7 @@ discard block |
||
| 320 | 324 | * Shortcut for joining an array of command arguments |
| 321 | 325 | * and then running it |
| 322 | 326 | * |
| 323 | - * @param array $cmd_parts - command arguments |
|
| 327 | + * @param string[] $cmd_parts - command arguments |
|
| 324 | 328 | * @param string $join_on - what to join the command arguments with |
| 325 | 329 | */ |
| 326 | 330 | protected function _run(array $cmd_parts, $join_on = ' ') |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * Generate a hash as a cache key from the current method call |
| 56 | 56 | * |
| 57 | - * @param object $object |
|
| 57 | + * @param Kitsu\Model $object |
|
| 58 | 58 | * @param string $method |
| 59 | 59 | * @param array $args |
| 60 | 60 | * @return string |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Constructor |
| 50 | 50 | * |
| 51 | - * @param ContainerInterface $container |
|
| 51 | + * @param \Aviat\Ion\Di\ContainerInterface $container |
|
| 52 | 52 | */ |
| 53 | 53 | public function __construct(ContainerInterface $container) |
| 54 | 54 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * This is a dirty hack until I can fully track down where |
| 51 | 51 | * the dual-encoding happens |
| 52 | 52 | * |
| 53 | - * @param FormBody $formBody The form builder object to fix |
|
| 53 | + * @param \Amp\Artax\FormBody $formBody The form builder object to fix |
|
| 54 | 54 | * @return string |
| 55 | 55 | */ |
| 56 | 56 | private function fixBody(FormBody $formBody): string |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | /** |
| 158 | 158 | * Remove some boilerplate for get requests |
| 159 | 159 | * |
| 160 | - * @param array $args |
|
| 160 | + * @param string $args |
|
| 161 | 161 | * @return array |
| 162 | 162 | */ |
| 163 | 163 | protected function getRequest(...$args): array |