| 1 | <?php |
||
| 9 | class DbRowDirectOperator implements \Common\IEntityOperator { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param \Common\IEntity $entity |
||
| 13 | * |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public function getById($entity) { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param \Common\IEntity $entity |
||
| 28 | */ |
||
| 29 | public function deleteById($entity) { |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param \Common\IEntity $entity |
||
| 39 | */ |
||
| 40 | public function insert($entity) { |
||
| 53 | |||
| 54 | } |
||
| 55 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.