| 1 | <?php |
||
| 26 | class Me |
||
| 27 | { |
||
| 28 | private const URL = '/me'; |
||
| 29 | |||
| 30 | private $client; |
||
| 31 | private $serializer; |
||
| 32 | private $authentication; |
||
| 33 | |||
| 34 | public function __construct(HttpClient $client, Serializer $serializer, Authentication $authentication) |
||
| 40 | |||
| 41 | public function __invoke(array $parameters = UserApi::QUERY_PARAMS) |
||
| 50 | |||
| 51 | private function mergeAuthenticationIntoParameters(array $parameters) : array |
||
| 55 | } |
||
| 56 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.