| 1 | <?php |
||
| 11 | class PageController extends \Api\Controller\RestController |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Action responsible to display info about single page entity. |
||
| 15 | * |
||
| 16 | * @return \Phalcon\Http\ResponseInterface |
||
| 17 | * @throws \Api\Exception\NotImplementedException |
||
| 18 | */ |
||
| 19 | public function getAction() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Action responsible to display a list of pages with required data. |
||
| 37 | * |
||
| 38 | * @return \Phalcon\Http\ResponseInterface |
||
| 39 | * @throws \Api\Exception\NotImplementedException |
||
| 40 | */ |
||
| 41 | public function listAction() |
||
| 49 | } |
||
| 50 |
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.