@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | * @param string $path Path to the directory |
| 53 | 53 | * @return void |
| 54 | 54 | * @throws \Aimeos\MW\Filesystem\Exception If an error occurs |
| 55 | - */ |
|
| 55 | + */ |
|
| 56 | 56 | public function mkdir( $path ) |
| 57 | 57 | { |
| 58 | 58 | try { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * @param string $path Path to the directory |
| 70 | 70 | * @return void |
| 71 | 71 | * @throws \Aimeos\MW\Filesystem\Exception If an error occurs |
| 72 | - */ |
|
| 72 | + */ |
|
| 73 | 73 | public function rmdir( $path ) |
| 74 | 74 | { |
| 75 | 75 | try { |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | * |
| 250 | 250 | * @param string $manager Name of the sub manager type in lower case |
| 251 | 251 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 252 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 253 | 253 | */ |
| 254 | 254 | public function getSubManager( $manager, $name = null ) |
| 255 | 255 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Initializes the request view helper. |
| 33 | 33 | * |
| 34 | - * @param \\Aimeos\MW\View\Iface $view View instance with registered view helpers |
|
| 34 | + * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers |
|
| 35 | 35 | * @param \Illuminate\Http\Request $request Laravel request object |
| 36 | 36 | */ |
| 37 | 37 | public function __construct( \Aimeos\MW\View\Iface $view, \Illuminate\Http\Request $request ) |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | * |
| 250 | 250 | * @param string $manager Name of the sub manager type in lower case |
| 251 | 251 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 252 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 253 | 253 | */ |
| 254 | 254 | public function getSubManager( $manager, $name = null ) |
| 255 | 255 | { |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | * |
| 250 | 250 | * @param string $manager Name of the sub manager type in lower case |
| 251 | 251 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 252 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 253 | 253 | */ |
| 254 | 254 | public function getSubManager( $manager, $name = null ) |
| 255 | 255 | { |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | /** |
| 240 | 240 | * Removes old entries from the storage. |
| 241 | 241 | * |
| 242 | - * @param array $siteids List of IDs for sites whose entries should be deleted |
|
| 242 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
| 243 | 243 | */ |
| 244 | 244 | public function cleanup( array $siteids ) |
| 245 | 245 | { |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | * |
| 293 | 293 | * @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
| 294 | 294 | * @param boolean $fetch True if the new ID should be returned in the item |
| 295 | - * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
| 295 | + * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
| 296 | 296 | */ |
| 297 | 297 | public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
| 298 | 298 | { |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | * |
| 521 | 521 | * @param string $manager Name of the sub manager type in lower case |
| 522 | 522 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 523 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 523 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 524 | 524 | */ |
| 525 | 525 | public function getSubManager( $manager, $name = null ) |
| 526 | 526 | { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * |
| 65 | 65 | * @inheritDoc |
| 66 | 66 | * |
| 67 | - * @param \Traversable|array $keys List of key strings that identify the cache entries |
|
| 67 | + * @param string[] $keys List of key strings that identify the cache entries |
|
| 68 | 68 | * that should be removed |
| 69 | 69 | */ |
| 70 | 70 | public function deleteMultiple( $keys ) |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * |
| 115 | 115 | * @inheritDoc |
| 116 | 116 | * |
| 117 | - * @param \Traversable|array $keys List of key strings for the requested cache entries |
|
| 117 | + * @param string[] $keys List of key strings for the requested cache entries |
|
| 118 | 118 | * @param mixed $default Default value to return for keys that do not exist |
| 119 | 119 | * @return array Associative list of key/value pairs for the requested cache |
| 120 | 120 | * entries. If a cache entry doesn't exist, neither its key nor a value |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $site |
|
| 52 | + */ |
|
| 50 | 53 | private static function createContext( $site ) |
| 51 | 54 | { |
| 52 | 55 | $ctx = new \Aimeos\MShop\Context\Item\Standard(); |