1 | <?php |
||
35 | class ProductAction extends AbstractAction |
||
36 | { |
||
37 | |||
38 | /** |
||
39 | * Helper method that create/update the passed entity, depending on |
||
40 | * the entity's status. |
||
41 | * |
||
42 | * @param array $row The entity data to create/update |
||
43 | * |
||
44 | * @return string The last inserted ID |
||
45 | */ |
||
46 | public function persist(array $row) |
||
55 | |||
56 | /** |
||
57 | * Creates's the entity with the passed attributes. |
||
58 | * |
||
59 | * @param array $row The attributes of the entity to create |
||
60 | * @param string|null $name The name of the prepared statement that has to be executed |
||
61 | * |
||
62 | * @return string The last inserted ID |
||
63 | */ |
||
64 | 1 | public function create($row, $name = null) |
|
68 | |||
69 | /** |
||
70 | * Update's the entity with the passed attributes. |
||
71 | * |
||
72 | * @param array $row The attributes of the entity to update |
||
73 | * @param string|null $name The name of the prepared statement that has to be executed |
||
74 | * |
||
75 | * @return string The ID of the updated product |
||
76 | */ |
||
77 | public function update($row, $name = null) |
||
81 | } |
||
82 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.