@@ -76,6 +76,9 @@ |
||
76 | 76 | return $this->getPool()->add($product); |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @param string $route |
|
81 | + */ |
|
79 | 82 | protected function getMap($route, Product $product) |
80 | 83 | { |
81 | 84 | return $this->factoryMap($route, ['itemId' => $product->getId()]); |
@@ -22,7 +22,8 @@ |
||
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
25 | - * @return Gpupo\Common\Entity\CollectionAbstract|null |
|
25 | + * @param \Gpupo\Common\Entity\Collection $data |
|
26 | + * @return \Gpupo\Common\Entity\Collection|null |
|
26 | 27 | */ |
27 | 28 | protected function fetchPrepare($data) |
28 | 29 | { |