@@ -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 | { |
@@ -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 | { |
@@ -348,8 +348,7 @@ discard block |
||
348 | 348 | * @see mshop/customer/manager/laravel/count |
349 | 349 | */ |
350 | 350 | $path = 'mshop/customer/manager/laravel/insert'; |
351 | - } |
|
352 | - else |
|
351 | + } else |
|
353 | 352 | { |
354 | 353 | /** mshop/customer/manager/laravel/update |
355 | 354 | * Updates an existing customer record in the database |
@@ -460,8 +459,7 @@ discard block |
||
460 | 459 | $this->addGroups( $item ); |
461 | 460 | |
462 | 461 | $dbm->release( $conn, $dbname ); |
463 | - } |
|
464 | - catch( \Exception $e ) |
|
462 | + } catch( \Exception $e ) |
|
465 | 463 | { |
466 | 464 | $dbm->release( $conn, $dbname ); |
467 | 465 | throw $e; |
@@ -499,8 +497,7 @@ discard block |
||
499 | 497 | } |
500 | 498 | |
501 | 499 | $dbm->release( $conn, $dbname ); |
502 | - } |
|
503 | - catch( \Exception $e ) |
|
500 | + } catch( \Exception $e ) |
|
504 | 501 | { |
505 | 502 | $dbm->release( $conn, $dbname ); |
506 | 503 | throw $e; |
@@ -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 | { |