@@ -332,8 +332,7 @@ discard block |
||
332 | 332 | * @see mshop/customer/manager/fosuser/count |
333 | 333 | */ |
334 | 334 | $path = 'mshop/customer/manager/fosuser/insert'; |
335 | - } |
|
336 | - else |
|
335 | + } else |
|
337 | 336 | { |
338 | 337 | /** mshop/customer/manager/fosuser/update |
339 | 338 | * Updates an existing customer record in the database |
@@ -441,8 +440,7 @@ discard block |
||
441 | 440 | } |
442 | 441 | |
443 | 442 | $dbm->release( $conn, $dbname ); |
444 | - } |
|
445 | - catch( \Exception $e ) |
|
443 | + } catch( \Exception $e ) |
|
446 | 444 | { |
447 | 445 | $dbm->release( $conn, $dbname ); |
448 | 446 | throw $e; |
@@ -478,8 +476,7 @@ discard block |
||
478 | 476 | } |
479 | 477 | |
480 | 478 | $dbm->release( $conn, $dbname ); |
481 | - } |
|
482 | - catch( \Exception $e ) |
|
479 | + } catch( \Exception $e ) |
|
483 | 480 | { |
484 | 481 | $dbm->release( $conn, $dbname ); |
485 | 482 | 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 | { |
@@ -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 | { |
@@ -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 | } |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @param string $manager Name of the sub manager type in lower case |
128 | 128 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
129 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
129 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
130 | 130 | */ |
131 | 131 | public function getSubManager( $manager, $name = null ) |
132 | 132 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @param string $manager Name of the sub manager type in lower case |
128 | 128 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
129 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
129 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
130 | 130 | */ |
131 | 131 | public function getSubManager( $manager, $name = null ) |
132 | 132 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * |
127 | 127 | * @param string $manager Name of the sub manager type in lower case |
128 | 128 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
129 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
129 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
130 | 130 | */ |
131 | 131 | public function getSubManager( $manager, $name = null ) |
132 | 132 | { |