@@ -321,6 +321,7 @@ |
||
321 | 321 | |
322 | 322 | /** |
323 | 323 | * @param string $code |
324 | + * @return \Aimeos\MShop\Catalog\Item\Iface |
|
324 | 325 | */ |
325 | 326 | protected function get( $code ) |
326 | 327 | { |
@@ -216,6 +216,9 @@ |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | |
219 | + /** |
|
220 | + * @param integer $prodid |
|
221 | + */ |
|
219 | 222 | protected function getStockItems( $prodid ) |
220 | 223 | { |
221 | 224 | $manager = \Aimeos\MShop\Factory::createManager( $this->context, 'product/stock' ); |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * |
134 | 134 | * @param array $list Associative list of key/value pairs |
135 | 135 | * @param string $key Key for the value to retrieve |
136 | - * @param mixed $default Default value if key isn't found |
|
136 | + * @param string|null $default Default value if key isn't found |
|
137 | 137 | * @param mixed Value for the key in the list of the default value |
138 | 138 | */ |
139 | 139 | protected function getValue( array $list, $key, $default ) |