1 | <?php |
||
11 | trait AuthenticatedRequestTrait { |
||
12 | protected $oAuth; |
||
13 | |||
14 | /** |
||
15 | * @return bool |
||
16 | */ |
||
17 | public function hasAuthenticationData() { |
||
20 | |||
21 | /** |
||
22 | * @returns HttpAuthenticationA |
||
23 | */ |
||
24 | public function getAuthentication() { |
||
27 | |||
28 | /** |
||
29 | * @param HttpAuthenticationA $oHttpAuthentication |
||
30 | */ |
||
31 | protected function setAuthentication(HttpAuthenticationA $oHttpAuthentication) { |
||
34 | } |
||
35 |
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
@return
annotation as described here.