@@ -46,7 +46,6 @@ |
||
46 | 46 | /** |
47 | 47 | * Add column siteid to fe_users table. |
48 | 48 | * |
49 | - * @param array $stmts Associative array of tables names and lists of SQL statements to execute. |
|
50 | 49 | */ |
51 | 50 | public function migrate() |
52 | 51 | { |
@@ -55,8 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | $this->status( 'done' ); |
58 | - } |
|
59 | - else |
|
58 | + } else |
|
60 | 59 | { |
61 | 60 | $this->status( 'OK' ); |
62 | 61 | } |
@@ -470,8 +470,7 @@ |
||
470 | 470 | */ |
471 | 471 | $path = 'mshop/customer/manager/typo3/insert'; |
472 | 472 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
473 | - } |
|
474 | - else |
|
473 | + } else |
|
475 | 474 | { |
476 | 475 | /** mshop/customer/manager/typo3/update |
477 | 476 | * Updates an existing customer record in the database |
@@ -728,7 +728,7 @@ |
||
728 | 728 | * |
729 | 729 | * @param string $manager Name of the sub manager type in lower case |
730 | 730 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
731 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
731 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
732 | 732 | */ |
733 | 733 | public function getSubManager( string $manager, string $name = null ) : \Aimeos\MShop\Common\Manager\Iface |
734 | 734 | { |
@@ -237,8 +237,7 @@ |
||
237 | 237 | */ |
238 | 238 | $path = 'mshop/customer/manager/group/typo3/insert'; |
239 | 239 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
240 | - } |
|
241 | - else |
|
240 | + } else |
|
242 | 241 | { |
243 | 242 | /** mshop/customer/manager/group/typo3/update/mysql |
244 | 243 | * Updates an existing customer group record in the database |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Initializes the customer group manager object |
75 | 75 | * |
76 | - * @param \Aimeos\MShop\Context\Iface $context Context object with required objects |
|
76 | + * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects |
|
77 | 77 | */ |
78 | 78 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context ) |
79 | 79 | { |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * Removes old entries from the database |
105 | 105 | * |
106 | - * @param iterable $siteids List of IDs for sites whose entries should be deleted |
|
106 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
107 | 107 | * @return \Aimeos\MShop\Common\Manager\Iface Same object for fluent interface |
108 | 108 | */ |
109 | 109 | public function clear( iterable $siteids ) : \Aimeos\MShop\Common\Manager\Iface |
@@ -58,8 +58,7 @@ |
||
58 | 58 | ) { |
59 | 59 | $this->execute( $sql, 'db-customer' ); |
60 | 60 | $this->status( 'done' ); |
61 | - } |
|
62 | - else |
|
61 | + } else |
|
63 | 62 | { |
64 | 63 | $this->status( 'OK' ); |
65 | 64 | } |
@@ -29,8 +29,8 @@ |
||
29 | 29 | /** |
30 | 30 | * Initializes the cache controller. |
31 | 31 | * |
32 | - * @param \\Aimeos\MShop\Context\Item\Iface $context MShop context object |
|
33 | - * @param \TYPO3\Flow\Cache\Frontend\StringFrontend $cache Flow cache object |
|
32 | + * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object |
|
33 | + * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache Flow cache object |
|
34 | 34 | */ |
35 | 35 | public function __construct( \Aimeos\MShop\Context\Item\Iface $context, \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache ) |
36 | 36 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * |
94 | 94 | * @inheritDoc |
95 | 95 | * |
96 | - * @param iterable $keys List of key strings that identify the cache entries that should be removed |
|
96 | + * @param string[] $keys List of key strings that identify the cache entries that should be removed |
|
97 | 97 | * @return bool True if the items were successfully removed. False if there was an error. |
98 | 98 | * @throws \Psr\SimpleCache\InvalidArgumentException |
99 | 99 | */ |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * |
113 | 113 | * @inheritDoc |
114 | 114 | * |
115 | - * @param iterable $tags List of tag strings that are associated to one or |
|
115 | + * @param string[] $tags List of tag strings that are associated to one or |
|
116 | 116 | * more cache entries that should be removed |
117 | 117 | * @return bool True if the items were successfully removed. False if there was an error. |
118 | 118 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @inheritDoc |
134 | 134 | * |
135 | 135 | * @param string $key Path to the requested value like product/id/123 |
136 | - * @param mixed $default Value returned if requested key isn't found |
|
136 | + * @param string $default Value returned if requested key isn't found |
|
137 | 137 | * @return mixed Value associated to the requested key. If no value for the |
138 | 138 | * key is found in the cache, the given default value is returned |
139 | 139 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * |
154 | 154 | * @inheritDoc |
155 | 155 | * |
156 | - * @param iterable $keys List of key strings for the requested cache entries |
|
156 | + * @param string[] $keys List of key strings for the requested cache entries |
|
157 | 157 | * @param mixed $default Default value to return for keys that do not exist |
158 | 158 | * @return iterable A list of key => value pairs. Cache keys that do not exist or are stale will have $default as value. |
159 | 159 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | * @inheritDoc |
231 | 231 | * |
232 | 232 | * @param iterable $pairs Associative list of key/value pairs. Both must be a string |
233 | - * @param \DateInterval|int|string|null $expires Date interval object, |
|
233 | + * @param string|null $expires Date interval object, |
|
234 | 234 | * date/time string in "YYYY-MM-DD HH:mm:ss" format or as integer TTL value |
235 | 235 | * when the cache entry will expiry |
236 | 236 | * @param iterable $tags List of tags that should be associated to the cache entries |
@@ -321,7 +321,7 @@ |
||
321 | 321 | /** |
322 | 322 | * Returns the internal TYPO3 mail message object. |
323 | 323 | * |
324 | - * @return TYPO3\CMS\Core\Mail\MailMessage TYPO3 mail message object |
|
324 | + * @return \TYPO3\CMS\Core\Mail\MailMessage TYPO3 mail message object |
|
325 | 325 | */ |
326 | 326 | public function getObject() : \TYPO3\CMS\Core\Mail\MailMessage |
327 | 327 | { |
@@ -307,8 +307,7 @@ |
||
307 | 307 | { |
308 | 308 | $this->object->embed( $data, $filename, $mimetype ); |
309 | 309 | return 'cid:' . $filename; |
310 | - } |
|
311 | - elseif( class_exists( '\Swift_EmbeddedFile' ) ) |
|
310 | + } elseif( class_exists( '\Swift_EmbeddedFile' ) ) |
|
312 | 311 | { |
313 | 312 | $part = \Swift_EmbeddedFile::newInstance( $data, $filename, $mimetype ); |
314 | 313 | return $this->object->embed( $part ); |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Remove the list of keys from the session. |
88 | 88 | * |
89 | - * @param array $name Keys to remove from the session |
|
89 | + * @param array $names Keys to remove from the session |
|
90 | 90 | * @return \Aimeos\MW\Session\Iface Session instance for method chaining |
91 | 91 | */ |
92 | 92 | public function remove( array $names ) : Iface |
@@ -73,7 +73,6 @@ |
||
73 | 73 | /** |
74 | 74 | * Creates a PSR-7 compatible request |
75 | 75 | * |
76 | - * @param \TYPO3\Flow\Http\Request $nativeRequest Flow request object |
|
77 | 76 | * @param array $files List of uploaded files like in $_FILES |
78 | 77 | * @param array $query List of uploaded files like in $_GET |
79 | 78 | * @param array $post List of uploaded files like in $_POST |