@@ -72,12 +72,12 @@ |
||
72 | 72 | |
73 | 73 | if( ctype_alnum( $name ) === false ) |
74 | 74 | { |
75 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Customer\\Manager\\' . $name : '<not a string>'; |
|
75 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Customer\\Manager\\'.$name : '<not a string>'; |
|
76 | 76 | throw new \Aimeos\MShop\Coupon\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
77 | 77 | } |
78 | 78 | |
79 | 79 | $iface = '\\Aimeos\\MShop\\Coupon\\Manager\\Iface'; |
80 | - $classname = '\\Aimeos\\MShop\\Coupon\\Manager\\' . $name; |
|
80 | + $classname = '\\Aimeos\\MShop\\Coupon\\Manager\\'.$name; |
|
81 | 81 | |
82 | 82 | $manager = self::createManagerBase( $context, $classname, $iface ); |
83 | 83 |
@@ -622,7 +622,7 @@ |
||
622 | 622 | } |
623 | 623 | |
624 | 624 | $interface = '\\Aimeos\\MShop\\Coupon\\Provider\\Factory\\Iface'; |
625 | - $classname = '\\Aimeos\\MShop\\Coupon\\Provider\\' . $providername; |
|
625 | + $classname = '\\Aimeos\\MShop\\Coupon\\Provider\\'.$providername; |
|
626 | 626 | |
627 | 627 | if( class_exists( $classname ) === false ) { |
628 | 628 | throw new \Aimeos\MShop\Coupon\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -268,8 +268,7 @@ |
||
268 | 268 | * @see mshop/coupon/manager/standard/count/ansi |
269 | 269 | */ |
270 | 270 | $path = 'mshop/coupon/manager/standard/insert'; |
271 | - } |
|
272 | - else |
|
271 | + } else |
|
273 | 272 | { |
274 | 273 | /** mshop/coupon/manager/standard/update/mysql |
275 | 274 | * Updates an existing coupon record in the database |
@@ -42,7 +42,7 @@ |
||
42 | 42 | throw new \Aimeos\MShop\Coupon\Exception( sprintf( 'Invalid characters in class name "%1$s"', $name ) ); |
43 | 43 | } |
44 | 44 | |
45 | - $classname = $classprefix . $name; |
|
45 | + $classname = $classprefix.$name; |
|
46 | 46 | |
47 | 47 | if( class_exists( $classname ) === false ) { |
48 | 48 | throw new \Aimeos\MShop\Coupon\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -246,7 +246,7 @@ |
||
246 | 246 | * @see mshop/coupon/manager/code/decorators/global |
247 | 247 | */ |
248 | 248 | |
249 | - return $this->getSubManagerBase( 'coupon', 'code/' . $manager, $name ); |
|
249 | + return $this->getSubManagerBase( 'coupon', 'code/'.$manager, $name ); |
|
250 | 250 | } |
251 | 251 | |
252 | 252 |
@@ -402,8 +402,7 @@ |
||
402 | 402 | * @see mshop/coupon/manager/code/standard/counter/ansi |
403 | 403 | */ |
404 | 404 | $path = 'mshop/coupon/manager/code/standard/insert'; |
405 | - } |
|
406 | - else |
|
405 | + } else |
|
407 | 406 | { |
408 | 407 | /** mshop/coupon/manager/code/standard/update/mysql |
409 | 408 | * Updates an existing coupon code record in the database |
@@ -71,12 +71,12 @@ |
||
71 | 71 | |
72 | 72 | if( ctype_alnum( $name ) === false ) |
73 | 73 | { |
74 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Locale\\Manager\\' . $name : '<not a string>'; |
|
74 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Locale\\Manager\\'.$name : '<not a string>'; |
|
75 | 75 | throw new \Aimeos\MShop\Locale\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
76 | 76 | } |
77 | 77 | |
78 | 78 | $iface = '\\Aimeos\\MShop\\Locale\\Manager\\Iface'; |
79 | - $classname = '\\Aimeos\\MShop\\Locale\\Manager\\' . $name; |
|
79 | + $classname = '\\Aimeos\\MShop\\Locale\\Manager\\'.$name; |
|
80 | 80 | |
81 | 81 | $manager = self::createManagerBase( $context, $classname, $iface ); |
82 | 82 |
@@ -72,12 +72,12 @@ |
||
72 | 72 | |
73 | 73 | if( ctype_alnum( $name ) === false ) |
74 | 74 | { |
75 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Customer\\Manager\\' . $name : '<not a string>'; |
|
75 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Customer\\Manager\\'.$name : '<not a string>'; |
|
76 | 76 | throw new \Aimeos\MShop\Customer\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
77 | 77 | } |
78 | 78 | |
79 | 79 | $iface = '\\Aimeos\\MShop\\Customer\\Manager\\Iface'; |
80 | - $classname = '\\Aimeos\\MShop\\Customer\\Manager\\' . $name; |
|
80 | + $classname = '\\Aimeos\\MShop\\Customer\\Manager\\'.$name; |
|
81 | 81 | |
82 | 82 | $manager = self::createManagerBase( $context, $classname, $iface ); |
83 | 83 |
@@ -319,7 +319,7 @@ |
||
319 | 319 | * @see mshop/customer/manager/lists/decorators/global |
320 | 320 | */ |
321 | 321 | |
322 | - return $this->getSubManagerBase( 'customer', 'lists/' . $manager, $name ); |
|
322 | + return $this->getSubManagerBase( 'customer', 'lists/'.$manager, $name ); |
|
323 | 323 | } |
324 | 324 | |
325 | 325 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/customer/manager/lists/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'customer', 'lists/type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'customer', 'lists/type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -403,7 +403,7 @@ |
||
403 | 403 | * @see mshop/customer/manager/address/decorators/global |
404 | 404 | */ |
405 | 405 | |
406 | - return $this->getSubManagerBase( 'customer', 'address/' . $manager, $name ); |
|
406 | + return $this->getSubManagerBase( 'customer', 'address/'.$manager, $name ); |
|
407 | 407 | } |
408 | 408 | |
409 | 409 |