@@ -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 ) |
@@ -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(); |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | /** |
382 | 382 | * Removes old entries from the storage. |
383 | 383 | * |
384 | - * @param iterable $siteids List of IDs for sites whose entries should be deleted |
|
384 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
385 | 385 | * @return \Aimeos\MShop\Common\Manager\Iface Same object for fluent interface |
386 | 386 | */ |
387 | 387 | public function clear( iterable $siteids ) : \Aimeos\MShop\Common\Manager\Iface |
@@ -674,7 +674,7 @@ discard block |
||
674 | 674 | * |
675 | 675 | * @param string $manager Name of the sub manager type in lower case |
676 | 676 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
677 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
677 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
678 | 678 | */ |
679 | 679 | public function getSubManager( string $manager, string $name = null ) : \Aimeos\MShop\Common\Manager\Iface |
680 | 680 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @inheritDoc |
75 | 75 | * |
76 | - * @param iterable $keys List of key strings that identify the cache entries that should be removed |
|
76 | + * @param string[] $keys List of key strings that identify the cache entries that should be removed |
|
77 | 77 | * @return bool True if the items were successfully removed. False if there was an error. |
78 | 78 | * @throws \Psr\SimpleCache\InvalidArgumentException |
79 | 79 | */ |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @inheritDoc |
94 | 94 | * |
95 | - * @param iterable $tags List of tag strings that are associated to one or more cache entries that should be removed |
|
95 | + * @param string[] $tags List of tag strings that are associated to one or more cache entries that should be removed |
|
96 | 96 | * @return bool True if the items were successfully removed. False if there was an error. |
97 | 97 | * @throws \Psr\SimpleCache\InvalidArgumentException |
98 | 98 | */ |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @inheritDoc |
109 | 109 | * |
110 | 110 | * @param string $key Path to the requested value like product/id/123 |
111 | - * @param mixed $default Value returned if requested key isn't found |
|
111 | + * @param string $default Value returned if requested key isn't found |
|
112 | 112 | * @return mixed Value associated to the requested key. If no value for the |
113 | 113 | * key is found in the cache, the given default value is returned |
114 | 114 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * |
129 | 129 | * @inheritDoc |
130 | 130 | * |
131 | - * @param iterable $keys List of key strings for the requested cache entries |
|
131 | + * @param string[] $keys List of key strings for the requested cache entries |
|
132 | 132 | * @param mixed $default Default value to return for keys that do not exist |
133 | 133 | * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value. |
134 | 134 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | * @inheritDoc |
204 | 204 | * |
205 | 205 | * @param iterable $pairs Associative list of key/value pairs. Both must be a string |
206 | - * @param \DateInterval|int|string|null $expires Date interval object, |
|
206 | + * @param string $expires Date interval object, |
|
207 | 207 | * date/time string in "YYYY-MM-DD HH:mm:ss" format or as integer TTL value |
208 | 208 | * when the cache entry will expiry |
209 | 209 | * @param iterable $tags List of tags that should be associated to the cache entries |
@@ -39,7 +39,6 @@ |
||
39 | 39 | * Writes a message to the configured log facility. |
40 | 40 | * |
41 | 41 | * @param string|array|object $message Message text that should be written to the log facility |
42 | - * @param int $prio Priority of the message for filtering |
|
43 | 42 | * @param string $facility Facility for logging different types of messages (e.g. message, auth, user, changelog) |
44 | 43 | * @return \Aimeos\MW\Logger\Iface Logger object for method chaining |
45 | 44 | * @throws \Aimeos\MW\Logger\Exception If an error occurs in Zend_Log |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | /** |
94 | 94 | * Remove the list of keys from the session. |
95 | 95 | * |
96 | - * @param array $name Keys to remove from the session |
|
96 | + * @param array $names Keys to remove from the session |
|
97 | 97 | * @return \Aimeos\MW\Session\Iface Session instance for method chaining |
98 | 98 | */ |
99 | 99 | public function remove( array $names ) : Iface |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * If the value isn't a string, it's serialized and decoded again when using the get() method. |
113 | 113 | * |
114 | 114 | * @param string $name Key to the value which should be stored in the session |
115 | - * @param mixed $value Value that should be associated with the given key |
|
115 | + * @param string $value Value that should be associated with the given key |
|
116 | 116 | * @return \Aimeos\MW\Session\Iface Session instance for method chaining |
117 | 117 | */ |
118 | 118 | public function set( string $name, $value ) : Iface |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Initializes the URL view helper. |
29 | 29 | * |
30 | - * @param \\Aimeos\MW\View\Iface $view View instance with registered view helpers |
|
30 | + * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers |
|
31 | 31 | * @param \Illuminate\Contracts\Routing\UrlGenerator $builder Laravel URL builder object |
32 | 32 | * @param array Associative list of fixed parameters that should be available for all routes |
33 | 33 | */ |