| @@ -330,8 +330,7 @@ discard block | ||
| 330 | 330 | * @see mshop/customer/manager/laravel/count | 
| 331 | 331 | */ | 
| 332 | 332 | $path = 'mshop/customer/manager/laravel/insert'; | 
| 333 | - } | |
| 334 | - else | |
| 333 | + } else | |
| 335 | 334 |  			{ | 
| 336 | 335 | /** mshop/customer/manager/laravel/update | 
| 337 | 336 | * Updates an existing customer record in the database | 
| @@ -437,8 +436,7 @@ discard block | ||
| 437 | 436 | } | 
| 438 | 437 | |
| 439 | 438 | $dbm->release( $conn, $dbname ); | 
| 440 | - } | |
| 441 | - catch( \Exception $e ) | |
| 439 | + } catch( \Exception $e ) | |
| 442 | 440 |  		{ | 
| 443 | 441 | $dbm->release( $conn, $dbname ); | 
| 444 | 442 | throw $e; | 
| @@ -474,8 +472,7 @@ discard block | ||
| 474 | 472 | } | 
| 475 | 473 | |
| 476 | 474 | $dbm->release( $conn, $dbname ); | 
| 477 | - } | |
| 478 | - catch( \Exception $e ) | |
| 475 | + } catch( \Exception $e ) | |
| 479 | 476 |  		{ | 
| 480 | 477 | $dbm->release( $conn, $dbname ); | 
| 481 | 478 | throw $e; | 
| @@ -224,7 +224,7 @@ discard block | ||
| 224 | 224 | /** | 
| 225 | 225 | * Removes old entries from the storage. | 
| 226 | 226 | * | 
| 227 | - * @param array $siteids List of IDs for sites whose entries should be deleted | |
| 227 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted | |
| 228 | 228 | */ | 
| 229 | 229 | public function cleanup( array $siteids ) | 
| 230 | 230 |  	{ | 
| @@ -490,7 +490,7 @@ discard block | ||
| 490 | 490 | * | 
| 491 | 491 | * @param string $manager Name of the sub manager type in lower case | 
| 492 | 492 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null | 
| 493 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. | |
| 493 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. | |
| 494 | 494 | */ | 
| 495 | 495 | public function getSubManager( $manager, $name = null ) | 
| 496 | 496 |  	{ | 
| @@ -53,8 +53,7 @@ | ||
| 53 | 53 | } | 
| 54 | 54 | |
| 55 | 55 | $this->logger->log( $message, $this->translatePriority( $priority ) ); | 
| 56 | - } | |
| 57 | -		catch( \Exception $e )	{ | |
| 56 | +		} catch( \Exception $e )	{ | |
| 58 | 57 | throw new \Aimeos\MW\Logger\Exception( $e->getMessage(), $e->getCode(), $e ); | 
| 59 | 58 | } | 
| 60 | 59 | } | 
| @@ -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 |  	{ | 
| @@ -31,7 +31,7 @@ | ||
| 31 | 31 | /** | 
| 32 | 32 | * Initializes the request view helper. | 
| 33 | 33 | * | 
| 34 | - * @param \\Aimeos\MW\View\Iface $view View instance with registered view helpers | |
| 34 | + * @param \Aimeos\MW\View\Iface $view View instance with registered view helpers | |
| 35 | 35 | * @param \Illuminate\Http\Request $request Laravel request object | 
| 36 | 36 | */ | 
| 37 | 37 | public function __construct( \Aimeos\MW\View\Iface $view, \Illuminate\Http\Request $request ) | 
| @@ -117,8 +117,7 @@ | ||
| 117 | 117 | $value->getClientOriginalName(), | 
| 118 | 118 | $value->getClientMimeType() | 
| 119 | 119 | ); | 
| 120 | - } | |
| 121 | - elseif( is_array( $value ) ) | |
| 120 | + } elseif( is_array( $value ) ) | |
| 122 | 121 |  			{ | 
| 123 | 122 | $list[$key] = $this->getFiles( $value ); | 
| 124 | 123 | } | 
| @@ -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 |  	{ |