| 1 | <?php |
||
| 9 | class DbRowDirectOperator implements \Common\IEntityOperator { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @param Entity $entity |
||
| 13 | */ |
||
| 14 | public function getById($entity) { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param Entity $entity |
||
| 26 | */ |
||
| 27 | public function deleteById($entity) { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Entity $entity |
||
| 37 | */ |
||
| 38 | public function insert($entity) { |
||
| 61 | |||
| 62 | } |
||
| 63 |
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.