| 1 | <?php |
||
| 8 | class StatusesHomeTimelineTestCommand extends StatusesHomeTimelineCommand |
||
| 9 | { |
||
| 10 | 9 | protected function configure() |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Read tweet(s) from a JSON file. |
||
| 26 | * |
||
| 27 | * @param string $filename |
||
| 28 | * |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | 3 | protected function getTestContent($filename) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @param InputInterface $input |
||
| 40 | * |
||
| 41 | * @return string|null|array |
||
|
|
|||
| 42 | */ |
||
| 43 | 7 | protected function getContent(InputInterface $input) |
|
| 63 | } |
||
| 64 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.