@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @return Gpupo\Common\Entity\CollectionAbstract|null |
|
42 | + * @return null|EntityInterface |
|
43 | 43 | */ |
44 | 44 | public function findSkuById($itemId) |
45 | 45 | { |
@@ -59,6 +59,9 @@ discard block |
||
59 | 59 | return $this->hydrate($sku); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $type |
|
64 | + */ |
|
62 | 65 | protected function getDetail(EntityInterface $sku, $type) |
63 | 66 | { |
64 | 67 | $response = $this->perform($this->factoryMap('get'.$type, ['sku' => $sku->getId()])); |