| 1 | <?php |
||
| 7 | class Manager extends Endpoint |
||
| 8 | { |
||
| 9 | const RESOURCE = '/employers'; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Get manager settings |
||
| 13 | * @param integer $managerId |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public function preferences($managerId = null) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param $key |
||
| 32 | * @return null |
||
| 33 | * @throws HeadHunterApiException |
||
| 34 | */ |
||
| 35 | protected function getCurrentUserDataId($key) |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | protected function getCurrentUserInfo() |
||
| 56 | } |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.