@@ -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; |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | /** |
242 | 242 | * Removes old entries from the storage. |
243 | 243 | * |
244 | - * @param array $siteids List of IDs for sites whose entries should be deleted |
|
244 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
245 | 245 | */ |
246 | 246 | public function cleanup( array $siteids ) |
247 | 247 | { |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | * |
295 | 295 | * @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
296 | 296 | * @param boolean $fetch True if the new ID should be returned in the item |
297 | - * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
297 | + * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
298 | 298 | */ |
299 | 299 | public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
300 | 300 | { |
@@ -525,7 +525,7 @@ discard block |
||
525 | 525 | * |
526 | 526 | * @param string $manager Name of the sub manager type in lower case |
527 | 527 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
528 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
528 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
529 | 529 | */ |
530 | 530 | public function getSubManager( $manager, $name = null ) |
531 | 531 | { |
@@ -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 | { |
@@ -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 | { |
@@ -53,8 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | $this->execute( $this->sql['address'] ); |
55 | 55 | $this->status( 'done' ); |
56 | - } |
|
57 | - else |
|
56 | + } else |
|
58 | 57 | { |
59 | 58 | $this->status( 'OK' ); |
60 | 59 | } |
@@ -66,8 +65,7 @@ discard block |
||
66 | 65 | { |
67 | 66 | $this->execute( $this->sql['list'] ); |
68 | 67 | $this->status( 'done' ); |
69 | - } |
|
70 | - else |
|
68 | + } else |
|
71 | 69 | { |
72 | 70 | $this->status( 'OK' ); |
73 | 71 | } |