| 1 | <?php |
||
| 11 | class LivePrice |
||
| 12 | { |
||
| 13 | use TransportAwareTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param SessionParameters $parameters |
||
| 17 | * @param bool $newSession |
||
| 18 | * @return array |
||
|
|
|||
| 19 | */ |
||
| 20 | public function getDeals(SessionParameters $parameters, $newSession) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $sessionParameters |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function getMultiDeals(array $sessionParameters) |
||
| 47 | } |
||
| 48 |
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.