@@ -209,7 +209,7 @@ |
||
209 | 209 | { |
210 | 210 | $path = 'mshop/plugin/manager/submanagers'; |
211 | 211 | |
212 | - return $this->getResourceTypeBase( 'plugin', $path, array( 'type'), $withsub ); |
|
212 | + return $this->getResourceTypeBase( 'plugin', $path, array( 'type' ), $withsub ); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * Returns the configuration attribute definitions of the provider to generate a list of available fields and |
139 | 139 | * rules for the value of each field in the administration interface. |
140 | 140 | * |
141 | - * @return array List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface |
|
141 | + * @return \Aimeos\MW\Criteria\Attribute\Iface[] List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface |
|
142 | 142 | */ |
143 | 143 | public function getConfigBE() |
144 | 144 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * @param \Aimeos\MShop\Order\Item\Base\Iface $order Basket of the customer |
213 | 213 | * @param string $type Service type constant from \Aimeos\MShop\Order\Item\Base\Service\Base |
214 | 214 | * @param string|null $code Service item code |
215 | - * @return \Aimeos\MShop\Order\Item\Base\Service\Iface|null Order service item if available or null otherwise |
|
215 | + * @return \Aimeos\MShop\Common\Item\Iface|null Order service item if available or null otherwise |
|
216 | 216 | */ |
217 | 217 | protected function getServiceItem( \Aimeos\MShop\Order\Item\Base\Iface $order, $type, $code = null ) |
218 | 218 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * Returns the configuration attribute definitions of the provider to generate a list of available fields and |
100 | 100 | * rules for the value of each field in the administration interface. |
101 | 101 | * |
102 | - * @return array List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface |
|
102 | + * @return \Aimeos\MW\Criteria\Attribute\Iface[] List of attribute definitions implementing \Aimeos\MW\Common\Critera\Attribute\Iface |
|
103 | 103 | */ |
104 | 104 | public function getConfigBE() |
105 | 105 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | $interface = '\\Aimeos\\MShop\\Plugin\\Provider\\Factory\\Iface'; |
49 | - $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\' . $type . '\\' . $provider; |
|
49 | + $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\'.$type.'\\'.$provider; |
|
50 | 50 | |
51 | 51 | if( class_exists( $classname ) === false ) { |
52 | 52 | throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * @category Developer |
85 | 85 | * @see mshop/plugin/provider/order/decorators |
86 | 86 | */ |
87 | - $decorators = $config->get( 'mshop/plugin/provider/' . $item->getType() . '/decorators', [] ); |
|
87 | + $decorators = $config->get( 'mshop/plugin/provider/'.$item->getType().'/decorators', [] ); |
|
88 | 88 | |
89 | 89 | $provider = $this->addPluginDecorators( $item, $provider, $names ); |
90 | 90 | $provider = $this->addPluginDecorators( $item, $provider, $decorators ); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Invalid characters in class name "%1$s"', $name ) ); |
113 | 113 | } |
114 | 114 | |
115 | - $classname = $classprefix . $name; |
|
115 | + $classname = $classprefix.$name; |
|
116 | 116 | |
117 | 117 | if( class_exists( $classname ) === false ) { |
118 | 118 | throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | } |
47 | 47 | |
48 | 48 | $interface = '\\Aimeos\\MShop\\Service\\Provider\\Factory\\Iface'; |
49 | - $classname = '\\Aimeos\\MShop\\Service\\Provider\\' . $type . '\\' . $provider; |
|
49 | + $classname = '\\Aimeos\\MShop\\Service\\Provider\\'.$type.'\\'.$provider; |
|
50 | 50 | |
51 | 51 | if( class_exists( $classname ) === false ) { |
52 | 52 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @category Developer |
108 | 108 | * @see mshop/service/provider/delivery/decorators |
109 | 109 | */ |
110 | - $decorators = $config->get( 'mshop/service/provider/' . $item->getType() . '/decorators', [] ); |
|
110 | + $decorators = $config->get( 'mshop/service/provider/'.$item->getType().'/decorators', [] ); |
|
111 | 111 | |
112 | 112 | $provider = $this->addServiceDecorators( $item, $provider, $names ); |
113 | 113 | return $this->addServiceDecorators( $item, $provider, $decorators ); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Invalid characters in class name "%1$s"', $name ) ); |
135 | 135 | } |
136 | 136 | |
137 | - $classname = $classprefix . $name; |
|
137 | + $classname = $classprefix.$name; |
|
138 | 138 | |
139 | 139 | if( class_exists( $classname ) === false ) { |
140 | 140 | throw new \Aimeos\MShop\Service\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |