| @@ -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 | } | 
| @@ -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 | } |