Completed
Push — master ( 7ea7fa...4e5447 )
by Gilmar
23:38
created
src/Entity/Product/Sku/Manager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()]));
Please login to merge, or discard this patch.