@@ -50,8 +50,7 @@ |
||
| 50 | 50 | { |
| 51 | 51 | $this->executeList( $sql, 'db-customer' ); |
| 52 | 52 | $this->status( 'done' ); |
| 53 | - } |
|
| 54 | - else |
|
| 53 | + } else |
|
| 55 | 54 | { |
| 56 | 55 | $this->status( 'OK' ); |
| 57 | 56 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns the list of task names which depends on this task. |
| 19 | 19 | * |
| 20 | - * @return array List of task names |
|
| 20 | + * @return string[] List of task names |
|
| 21 | 21 | */ |
| 22 | 22 | public function getPreDependencies() |
| 23 | 23 | { |
@@ -324,8 +324,7 @@ discard block |
||
| 324 | 324 | |
| 325 | 325 | $user = $service->loadUser( $item->getId() ); |
| 326 | 326 | $service->updateUser( $user, $struct ); |
| 327 | - } |
|
| 328 | - else |
|
| 327 | + } else |
|
| 329 | 328 | { |
| 330 | 329 | $struct = $service->newUserCreateStruct( $item->getCode(), $email, $item->getPassword(), 'eng-GB' ); |
| 331 | 330 | $struct->enabled = $item->getStatus(); |
@@ -374,8 +373,7 @@ discard block |
||
| 374 | 373 | $stmt->execute()->finish(); |
| 375 | 374 | |
| 376 | 375 | $dbm->release( $conn, $dbname ); |
| 377 | - } |
|
| 378 | - catch( \Exception $e ) |
|
| 376 | + } catch( \Exception $e ) |
|
| 379 | 377 | { |
| 380 | 378 | $dbm->release( $conn, $dbname ); |
| 381 | 379 | throw $e; |
@@ -423,8 +421,7 @@ discard block |
||
| 423 | 421 | } |
| 424 | 422 | |
| 425 | 423 | $dbm->release( $conn, $dbname ); |
| 426 | - } |
|
| 427 | - catch( \Exception $e ) |
|
| 424 | + } catch( \Exception $e ) |
|
| 428 | 425 | { |
| 429 | 426 | $dbm->release( $conn, $dbname ); |
| 430 | 427 | throw $e; |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | /** |
| 227 | 227 | * Removes old entries from the storage. |
| 228 | 228 | * |
| 229 | - * @param array $siteids List of IDs for sites whose entries should be deleted |
|
| 229 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
| 230 | 230 | */ |
| 231 | 231 | public function cleanup( array $siteids ) |
| 232 | 232 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | /** |
| 252 | 252 | * Removes multiple items specified by ids in the array. |
| 253 | 253 | * |
| 254 | - * @param array $ids List of IDs |
|
| 254 | + * @param integer[] $ids List of IDs |
|
| 255 | 255 | */ |
| 256 | 256 | public function deleteItems( array $ids ) |
| 257 | 257 | { |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * |
| 283 | 283 | * @param string $manager Name of the sub manager type in lower case |
| 284 | 284 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 285 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 285 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 286 | 286 | */ |
| 287 | 287 | public function getSubManager( $manager, $name = null ) |
| 288 | 288 | { |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | * |
| 296 | 296 | * @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
| 297 | 297 | * @param boolean $fetch True if the new ID should be returned in the item |
| 298 | - * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
| 298 | + * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
| 299 | 299 | */ |
| 300 | 300 | public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
| 301 | 301 | { |
@@ -159,8 +159,7 @@ |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | $dbm->release( $conn, $dbname ); |
| 162 | - } |
|
| 163 | - catch( \Exception $e ) |
|
| 162 | + } catch( \Exception $e ) |
|
| 164 | 163 | { |
| 165 | 164 | $dbm->release( $conn, $dbname ); |
| 166 | 165 | throw $e; |
@@ -248,7 +248,7 @@ |
||
| 248 | 248 | * |
| 249 | 249 | * @param string $manager Name of the sub manager type in lower case |
| 250 | 250 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 251 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 251 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | 252 | */ |
| 253 | 253 | public function getSubManager( $manager, $name = null ) |
| 254 | 254 | { |
@@ -248,7 +248,7 @@ |
||
| 248 | 248 | * |
| 249 | 249 | * @param string $manager Name of the sub manager type in lower case |
| 250 | 250 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 251 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 251 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | 252 | */ |
| 253 | 253 | public function getSubManager( $manager, $name = null ) |
| 254 | 254 | { |
@@ -248,7 +248,7 @@ |
||
| 248 | 248 | * |
| 249 | 249 | * @param string $manager Name of the sub manager type in lower case |
| 250 | 250 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 251 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 251 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 252 | 252 | */ |
| 253 | 253 | public function getSubManager( $manager, $name = null ) |
| 254 | 254 | { |