@@ -66,8 +66,7 @@ |
||
66 | 66 | { |
67 | 67 | $this->execute( $stmt ); |
68 | 68 | $this->status( 'done' ); |
69 | - } |
|
70 | - else |
|
69 | + } else |
|
71 | 70 | { |
72 | 71 | $this->status( 'OK' ); |
73 | 72 | } |
@@ -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 | { |
@@ -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 | { |
@@ -494,7 +494,7 @@ discard block |
||
494 | 494 | * |
495 | 495 | * @param string $manager Name of the sub manager type in lower case |
496 | 496 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
497 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
497 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
498 | 498 | */ |
499 | 499 | public function getSubManager( $manager, $name = null ) |
500 | 500 | { |
@@ -350,8 +350,7 @@ discard block |
||
350 | 350 | * @see mshop/customer/manager/fosuser/count |
351 | 351 | */ |
352 | 352 | $path = 'mshop/customer/manager/fosuser/insert'; |
353 | - } |
|
354 | - else |
|
353 | + } else |
|
355 | 354 | { |
356 | 355 | /** mshop/customer/manager/fosuser/update |
357 | 356 | * Updates an existing customer record in the database |
@@ -465,8 +464,7 @@ discard block |
||
465 | 464 | $this->addGroups( $item ); |
466 | 465 | |
467 | 466 | $dbm->release( $conn, $dbname ); |
468 | - } |
|
469 | - catch( \Exception $e ) |
|
467 | + } catch( \Exception $e ) |
|
470 | 468 | { |
471 | 469 | $dbm->release( $conn, $dbname ); |
472 | 470 | throw $e; |
@@ -504,8 +502,7 @@ discard block |
||
504 | 502 | } |
505 | 503 | |
506 | 504 | $dbm->release( $conn, $dbname ); |
507 | - } |
|
508 | - catch( \Exception $e ) |
|
505 | + } catch( \Exception $e ) |
|
509 | 506 | { |
510 | 507 | $dbm->release( $conn, $dbname ); |
511 | 508 | throw $e; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | /** |
99 | 99 | * Sets the associated user roles |
100 | 100 | * |
101 | - * @param array $roles List of Symfony roles |
|
101 | + * @param string[] $roles List of Symfony roles |
|
102 | 102 | */ |
103 | 103 | public function setRoles( array $roles ) |
104 | 104 | { |
@@ -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 | { |