@@ -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; |
@@ -239,7 +239,7 @@ discard block |
||
| 239 | 239 | /** |
| 240 | 240 | * Removes old entries from the storage. |
| 241 | 241 | * |
| 242 | - * @param array $siteids List of IDs for sites whose entries should be deleted |
|
| 242 | + * @param integer[] $siteids List of IDs for sites whose entries should be deleted |
|
| 243 | 243 | */ |
| 244 | 244 | public function cleanup( array $siteids ) |
| 245 | 245 | { |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | * |
| 293 | 293 | * @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
| 294 | 294 | * @param boolean $fetch True if the new ID should be returned in the item |
| 295 | - * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
| 295 | + * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
| 296 | 296 | */ |
| 297 | 297 | public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
| 298 | 298 | { |
@@ -520,7 +520,7 @@ discard block |
||
| 520 | 520 | * |
| 521 | 521 | * @param string $manager Name of the sub manager type in lower case |
| 522 | 522 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
| 523 | - * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 523 | + * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
| 524 | 524 | */ |
| 525 | 525 | public function getSubManager( $manager, $name = null ) |
| 526 | 526 | { |
@@ -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 | { |