@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/tag/manager/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'tag', 'type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'tag', 'type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -72,12 +72,12 @@ |
||
72 | 72 | |
73 | 73 | if( ctype_alnum( $name ) === false ) |
74 | 74 | { |
75 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Service\\Manager\\' . $name : '<not a string>'; |
|
75 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Service\\Manager\\'.$name : '<not a string>'; |
|
76 | 76 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
77 | 77 | } |
78 | 78 | |
79 | 79 | $iface = '\\Aimeos\\MShop\\Service\\Manager\\Iface'; |
80 | - $classname = '\\Aimeos\\MShop\\Service\\Manager\\' . $name; |
|
80 | + $classname = '\\Aimeos\\MShop\\Service\\Manager\\'.$name; |
|
81 | 81 | |
82 | 82 | $manager = self::createManagerBase( $context, $classname, $iface ); |
83 | 83 |
@@ -319,7 +319,7 @@ |
||
319 | 319 | * @see mshop/service/manager/lists/decorators/global |
320 | 320 | */ |
321 | 321 | |
322 | - return $this->getSubManagerBase( 'service', 'lists/' . $manager, $name ); |
|
322 | + return $this->getSubManagerBase( 'service', 'lists/'.$manager, $name ); |
|
323 | 323 | } |
324 | 324 | |
325 | 325 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/service/manager/lists/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'service', 'lists/type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'service', 'lists/type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/service/manager/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'service', 'type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'service', 'type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Invalid characters in class name "%1$s"', $name ) ); |
42 | 42 | } |
43 | 43 | |
44 | - $classname = $classprefix . $name; |
|
44 | + $classname = $classprefix.$name; |
|
45 | 45 | |
46 | 46 | if( class_exists( $classname ) === false ) { |
47 | 47 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -72,12 +72,12 @@ |
||
72 | 72 | |
73 | 73 | if( ctype_alnum( $name ) === false ) |
74 | 74 | { |
75 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Order\\Manager\\' . $name : '<not a string>'; |
|
75 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Order\\Manager\\'.$name : '<not a string>'; |
|
76 | 76 | throw new \Aimeos\MShop\Order\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
77 | 77 | } |
78 | 78 | |
79 | 79 | $iface = '\\Aimeos\\MShop\\Order\\Manager\\Iface'; |
80 | - $classname = '\\Aimeos\\MShop\\Order\\Manager\\' . $name; |
|
80 | + $classname = '\\Aimeos\\MShop\\Order\\Manager\\'.$name; |
|
81 | 81 | |
82 | 82 | $manager = self::createManagerBase( $context, $classname, $iface ); |
83 | 83 |
@@ -579,7 +579,7 @@ |
||
579 | 579 | * @see mshop/order/manager/status/decorators/global |
580 | 580 | */ |
581 | 581 | |
582 | - return $this->getSubManagerBase( 'order', 'status/' . $manager, $name ); |
|
582 | + return $this->getSubManagerBase( 'order', 'status/'.$manager, $name ); |
|
583 | 583 | } |
584 | 584 | |
585 | 585 |
@@ -251,8 +251,7 @@ |
||
251 | 251 | * @see mshop/order/manager/status/standard/count/ansi |
252 | 252 | */ |
253 | 253 | $path = 'mshop/order/manager/status/standard/insert'; |
254 | - } |
|
255 | - else |
|
254 | + } else |
|
256 | 255 | { |
257 | 256 | /** mshop/order/manager/status/standard/update/mysql |
258 | 257 | * Updates an existing order record in the database |
@@ -590,6 +590,7 @@ |
||
590 | 590 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
591 | 591 | * @param string[] $ref List of domains to fetch list items and referenced items for |
592 | 592 | * @param integer|null &$total Number of items that are available in total |
593 | + * @param integer $total |
|
593 | 594 | * @return array List of items implementing \Aimeos\MShop\Order\Item\Status\Iface |
594 | 595 | */ |
595 | 596 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -605,7 +605,7 @@ |
||
605 | 605 | * @see mshop/order/manager/base/product/attribute/decorators/global |
606 | 606 | */ |
607 | 607 | |
608 | - return $this->getSubManagerBase( 'order', 'base/product/attribute/' . $manager, $name ); |
|
608 | + return $this->getSubManagerBase( 'order', 'base/product/attribute/'.$manager, $name ); |
|
609 | 609 | } |
610 | 610 | |
611 | 611 |
@@ -290,8 +290,7 @@ |
||
290 | 290 | * @see mshop/order/manager/base/product/attribute/standard/count/ansi |
291 | 291 | */ |
292 | 292 | $path = 'mshop/order/manager/base/product/attribute/standard/insert'; |
293 | - } |
|
294 | - else |
|
293 | + } else |
|
295 | 294 | { |
296 | 295 | /** mshop/order/manager/base/product/attribute/standard/update/mysql |
297 | 296 | * Updates an existing order record in the database |