Completed
Push — master ( d412cf...ab50b1 )
by Aimeos
02:07
created
controller/frontend/src/Controller/Frontend/Locale/Decorator/Base.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Locale\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Locale\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -75,9 +75,9 @@  discard block
 block discarded – undo
75 75
 	 * @return \Aimeos\MShop\Locale\Item\Iface Locale item including the referenced domains items
76 76
 	 * @since 2017.03
77 77
 	 */
78
-	public function getItem( $id, array $domains = [] )
78
+	public function getItem($id, array $domains = [])
79 79
 	{
80
-		return $this->controller->getItem( $id, $domains );
80
+		return $this->controller->getItem($id, $domains);
81 81
 	}
82 82
 
83 83
 
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
 	 * @return array Ordered list of locale items implementing \Aimeos\MShop\Locale\Item\Iface
91 91
 	 * @since 2017.03
92 92
 	 */
93
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = [], &$total = null )
93
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = [], &$total = null)
94 94
 	{
95
-		return $this->controller->searchItems( $filter, $domains, $total );
95
+		return $this->controller->searchItems($filter, $domains, $total);
96 96
 	}
97 97
 
98 98
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Common/Factory/Base.php 1 patch
Spacing   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 	 * @param string $classname Full name of the class for which the object should be returned
32 32
 	 * @param \Aimeos\Controller\Frontend\Iface|null $controller Frontend controller object
33 33
 	 */
34
-	public static function injectController( $classname, \Aimeos\Controller\Frontend\Iface $controller = null )
34
+	public static function injectController($classname, \Aimeos\Controller\Frontend\Iface $controller = null)
35 35
 	{
36 36
 		self::$objects[$classname] = $controller;
37 37
 	}
@@ -46,26 +46,26 @@  discard block
 block discarded – undo
46 46
 	 * @param string $classprefix Decorator class prefix, e.g. "\Aimeos\Controller\Frontend\Basket\Decorator\"
47 47
 	 * @return \Aimeos\Controller\Frontend\Common\Iface Controller object
48 48
 	 */
49
-	protected static function addDecorators( \Aimeos\MShop\Context\Item\Iface $context,
50
-		\Aimeos\Controller\Frontend\Iface $controller, array $decorators, $classprefix )
49
+	protected static function addDecorators(\Aimeos\MShop\Context\Item\Iface $context,
50
+		\Aimeos\Controller\Frontend\Iface $controller, array $decorators, $classprefix)
51 51
 	{
52
-		foreach( $decorators as $name )
52
+		foreach ($decorators as $name)
53 53
 		{
54
-			if( ctype_alnum( $name ) === false )
54
+			if (ctype_alnum($name) === false)
55 55
 			{
56
-				$classname = is_string( $name ) ? $classprefix . $name : '<not a string>';
57
-				throw new \Aimeos\Controller\Frontend\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) );
56
+				$classname = is_string($name) ? $classprefix . $name : '<not a string>';
57
+				throw new \Aimeos\Controller\Frontend\Exception(sprintf('Invalid characters in class name "%1$s"', $classname));
58 58
 			}
59 59
 
60 60
 			$classname = $classprefix . $name;
61 61
 
62
-			if( class_exists( $classname ) === false ) {
63
-				throw new \Aimeos\Controller\Frontend\Exception( sprintf( 'Class "%1$s" not available', $classname ) );
62
+			if (class_exists($classname) === false) {
63
+				throw new \Aimeos\Controller\Frontend\Exception(sprintf('Class "%1$s" not available', $classname));
64 64
 			}
65 65
 
66
-			$controller = new $classname( $controller, $context );
66
+			$controller = new $classname($controller, $context);
67 67
 
68
-			\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Common\\Decorator\\Iface', $controller );
68
+			\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Common\\Decorator\\Iface', $controller);
69 69
 		}
70 70
 
71 71
 		return $controller;
@@ -80,14 +80,14 @@  discard block
 block discarded – undo
80 80
 	 * @param string $domain Domain name in lower case, e.g. "product"
81 81
 	 * @return \Aimeos\Controller\Frontend\Common\Iface Controller object
82 82
 	 */
83
-	protected static function addControllerDecorators( \Aimeos\MShop\Context\Item\Iface $context,
84
-		\Aimeos\Controller\Frontend\Iface $controller, $domain )
83
+	protected static function addControllerDecorators(\Aimeos\MShop\Context\Item\Iface $context,
84
+		\Aimeos\Controller\Frontend\Iface $controller, $domain)
85 85
 	{
86
-		if( !is_string( $domain ) || $domain === '' ) {
87
-			throw new \Aimeos\Controller\Frontend\Exception( sprintf( 'Invalid domain "%1$s"', $domain ) );
86
+		if (!is_string($domain) || $domain === '') {
87
+			throw new \Aimeos\Controller\Frontend\Exception(sprintf('Invalid domain "%1$s"', $domain));
88 88
 		}
89 89
 
90
-		$localClass = str_replace( ' ', '\\', ucwords( str_replace( '/', ' ', $domain ) ) );
90
+		$localClass = str_replace(' ', '\\', ucwords(str_replace('/', ' ', $domain)));
91 91
 		$config = $context->getConfig();
92 92
 
93 93
 		/** controller/frontend/common/decorators/default
@@ -112,26 +112,26 @@  discard block
 block discarded – undo
112 112
 		 * @since 2014.03
113 113
 		 * @category Developer
114 114
 		 */
115
-		$decorators = $config->get( 'controller/frontend/common/decorators/default', [] );
116
-		$excludes = $config->get( 'controller/frontend/' . $domain . '/decorators/excludes', [] );
115
+		$decorators = $config->get('controller/frontend/common/decorators/default', []);
116
+		$excludes = $config->get('controller/frontend/' . $domain . '/decorators/excludes', []);
117 117
 
118
-		foreach( $decorators as $key => $name )
118
+		foreach ($decorators as $key => $name)
119 119
 		{
120
-			if( in_array( $name, $excludes ) ) {
121
-				unset( $decorators[$key] );
120
+			if (in_array($name, $excludes)) {
121
+				unset($decorators[$key]);
122 122
 			}
123 123
 		}
124 124
 
125 125
 		$classprefix = '\\Aimeos\\Controller\\Frontend\\Common\\Decorator\\';
126
-		$controller = self::addDecorators( $context, $controller, $decorators, $classprefix );
126
+		$controller = self::addDecorators($context, $controller, $decorators, $classprefix);
127 127
 
128 128
 		$classprefix = '\\Aimeos\\Controller\\Frontend\\Common\\Decorator\\';
129
-		$decorators = $config->get( 'controller/frontend/' . $domain . '/decorators/global', [] );
130
-		$controller = self::addDecorators( $context, $controller, $decorators, $classprefix );
129
+		$decorators = $config->get('controller/frontend/' . $domain . '/decorators/global', []);
130
+		$controller = self::addDecorators($context, $controller, $decorators, $classprefix);
131 131
 
132
-		$classprefix = '\\Aimeos\\Controller\\Frontend\\' . ucfirst( $localClass ) . '\\Decorator\\';
133
-		$decorators = $config->get( 'controller/frontend/' . $domain . '/decorators/local', [] );
134
-		$controller = self::addDecorators( $context, $controller, $decorators, $classprefix );
132
+		$classprefix = '\\Aimeos\\Controller\\Frontend\\' . ucfirst($localClass) . '\\Decorator\\';
133
+		$decorators = $config->get('controller/frontend/' . $domain . '/decorators/local', []);
134
+		$controller = self::addDecorators($context, $controller, $decorators, $classprefix);
135 135
 
136 136
 		return $controller;
137 137
 	}
@@ -145,19 +145,19 @@  discard block
 block discarded – undo
145 145
 	 * @param string $interface Name of the controller interface
146 146
 	 * @return \Aimeos\Controller\Frontend\Common\Iface Controller object
147 147
 	 */
148
-	protected static function createControllerBase( \Aimeos\MShop\Context\Item\Iface $context, $classname, $interface )
148
+	protected static function createControllerBase(\Aimeos\MShop\Context\Item\Iface $context, $classname, $interface)
149 149
 	{
150
-		if( isset( self::$objects[$classname] ) ) {
150
+		if (isset(self::$objects[$classname])) {
151 151
 			return self::$objects[$classname];
152 152
 		}
153 153
 
154
-		if( class_exists( $classname ) === false ) {
155
-			throw new \Aimeos\Controller\Frontend\Exception( sprintf( 'Class "%1$s" not available', $classname ) );
154
+		if (class_exists($classname) === false) {
155
+			throw new \Aimeos\Controller\Frontend\Exception(sprintf('Class "%1$s" not available', $classname));
156 156
 		}
157 157
 
158
-		$controller = new $classname( $context );
158
+		$controller = new $classname($context);
159 159
 
160
-		\Aimeos\MW\Common\Base::checkClass( $interface, $controller );
160
+		\Aimeos\MW\Common\Base::checkClass($interface, $controller);
161 161
 
162 162
 		return $controller;
163 163
 	}
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Subscription/Decorator/Base.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Subscription\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Subscription\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
 	 * @param string $id Unique subscription ID
61 61
 	 * @return \Aimeos\MShop\Subscription\Item\Iface Canceled subscription item
62 62
 	 */
63
-	public function cancel( $id )
63
+	public function cancel($id)
64 64
 	{
65
-		return $this->controller->cancel( $id );
65
+		return $this->controller->cancel($id);
66 66
 	}
67 67
 
68 68
 
@@ -94,9 +94,9 @@  discard block
 block discarded – undo
94 94
 	 * @param string $id Unique subscription ID
95 95
 	 * @return \Aimeos\MShop\Subscription\Item\Iface Subscription object
96 96
 	 */
97
-	public function getItem( $id )
97
+	public function getItem($id)
98 98
 	{
99
-		return $this->controller->getItem( $id );
99
+		return $this->controller->getItem($id);
100 100
 	}
101 101
 
102 102
 
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
 	 * @param \Aimeos\MShop\Subscription\Item\Iface $item Subscription object
107 107
 	 * @return \Aimeos\MShop\Subscription\Item\Iface Saved subscription item
108 108
 	 */
109
-	public function saveItem( \Aimeos\MShop\Subscription\Item\Iface $item )
109
+	public function saveItem(\Aimeos\MShop\Subscription\Item\Iface $item)
110 110
 	{
111
-		return $this->controller->saveItem( $item );
111
+		return $this->controller->saveItem($item);
112 112
 	}
113 113
 
114 114
 
@@ -119,9 +119,9 @@  discard block
 block discarded – undo
119 119
 	 * @param integer &$total|null Variable that will contain the total number of available items
120 120
 	 * @return \Aimeos\MShop\Subscription\Item\Iface[] Associative list of IDs as keys and subscription objects as values
121 121
 	 */
122
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null )
122
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null)
123 123
 	{
124
-		return $this->controller->searchItems( $filter, $total );
124
+		return $this->controller->searchItems($filter, $total);
125 125
 	}
126 126
 
127 127
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Product/Decorator/Base.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Product\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Product\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
65 65
 	 * @since 2017.03
66 66
 	 */
67
-	public function addFilterAttribute( \Aimeos\MW\Criteria\Iface $filter, array $attrIds, array $optIds, array $oneIds )
67
+	public function addFilterAttribute(\Aimeos\MW\Criteria\Iface $filter, array $attrIds, array $optIds, array $oneIds)
68 68
 	{
69
-		return $this->controller->addFilterAttribute( $filter, $attrIds, $optIds, $oneIds );
69
+		return $this->controller->addFilterAttribute($filter, $attrIds, $optIds, $oneIds);
70 70
 	}
71 71
 
72 72
 
@@ -82,10 +82,10 @@  discard block
 block discarded – undo
82 82
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
83 83
 	 * @since 2017.03
84 84
 	 */
85
-	public function addFilterCategory( \Aimeos\MW\Criteria\Iface $filter, $catId,
86
-		$level = \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE, $sort = null, $direction = '+', $listtype = 'default' )
85
+	public function addFilterCategory(\Aimeos\MW\Criteria\Iface $filter, $catId,
86
+		$level = \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE, $sort = null, $direction = '+', $listtype = 'default')
87 87
 	{
88
-		return $this->controller->addFilterCategory( $filter, $catId, $level, $sort, $direction, $listtype );
88
+		return $this->controller->addFilterCategory($filter, $catId, $level, $sort, $direction, $listtype);
89 89
 	}
90 90
 
91 91
 
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
98 98
 	 * @since 2018.07
99 99
 	 */
100
-	public function addFilterSupplier( \Aimeos\MW\Criteria\Iface $filter, array $supIds )
100
+	public function addFilterSupplier(\Aimeos\MW\Criteria\Iface $filter, array $supIds)
101 101
 	{
102
-		return $this->controller->addFilterSupplier( $filter, $supIds );
102
+		return $this->controller->addFilterSupplier($filter, $supIds);
103 103
 	}
104 104
 
105 105
 
@@ -114,9 +114,9 @@  discard block
 block discarded – undo
114 114
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
115 115
 	 * @since 2017.03
116 116
 	 */
117
-	public function addFilterText( \Aimeos\MW\Criteria\Iface $filter, $input, $sort = null, $direction = '+', $listtype = 'default' )
117
+	public function addFilterText(\Aimeos\MW\Criteria\Iface $filter, $input, $sort = null, $direction = '+', $listtype = 'default')
118 118
 	{
119
-		return $this->controller->addFilterText( $filter, $input, $sort, $direction, $listtype );
119
+		return $this->controller->addFilterText($filter, $input, $sort, $direction, $listtype);
120 120
 	}
121 121
 
122 122
 
@@ -128,9 +128,9 @@  discard block
 block discarded – undo
128 128
 	 * @return array Associative list of key values as key and the product count for this key as value
129 129
 	 * @since 2015.08
130 130
 	 */
131
-	public function aggregate( \Aimeos\MW\Criteria\Iface $filter, $key )
131
+	public function aggregate(\Aimeos\MW\Criteria\Iface $filter, $key)
132 132
 	{
133
-		return $this->controller->aggregate( $filter, $key );
133
+		return $this->controller->aggregate($filter, $key);
134 134
 	}
135 135
 
136 136
 
@@ -145,9 +145,9 @@  discard block
 block discarded – undo
145 145
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
146 146
 	 * @since 2015.08
147 147
 	 */
148
-	public function createFilter( $sort = null, $direction = '+', $start = 0, $size = 100, $listtype = 'default' )
148
+	public function createFilter($sort = null, $direction = '+', $start = 0, $size = 100, $listtype = 'default')
149 149
 	{
150
-		return $this->controller->createFilter( $sort, $direction, $start, $size, $listtype );
150
+		return $this->controller->createFilter($sort, $direction, $start, $size, $listtype);
151 151
 	}
152 152
 
153 153
 
@@ -159,9 +159,9 @@  discard block
 block discarded – undo
159 159
 	 * @return \Aimeos\MShop\Product\Item\Iface Product item including the referenced domains items
160 160
 	 * @since 2017.03
161 161
 	 */
162
-	public function getItem( $productId, array $domains = array( 'attribute', 'media', 'price', 'product', 'product/property', 'text' ) )
162
+	public function getItem($productId, array $domains = array('attribute', 'media', 'price', 'product', 'product/property', 'text'))
163 163
 	{
164
-		return $this->controller->getItem( $productId, $domains );
164
+		return $this->controller->getItem($productId, $domains);
165 165
 	}
166 166
 
167 167
 
@@ -173,9 +173,9 @@  discard block
 block discarded – undo
173 173
 	 * @return \Aimeos\MShop\Product\Item\Iface[] Associative list of product IDs as keys and product items as values
174 174
 	 * @since 2017.03
175 175
 	 */
176
-	public function getItems( array $productIds, array $domains = array( 'media', 'price', 'text' ) )
176
+	public function getItems(array $productIds, array $domains = array('media', 'price', 'text'))
177 177
 	{
178
-		return $this->controller->getItems( $productIds, $domains );
178
+		return $this->controller->getItems($productIds, $domains);
179 179
 	}
180 180
 
181 181
 
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
 	 * @return array Ordered list of product items implementing \Aimeos\MShop\Product\Item\Iface
189 189
 	 * @since 2015.08
190 190
 	 */
191
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array( 'media', 'price', 'text' ), &$total = null )
191
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = array('media', 'price', 'text'), &$total = null)
192 192
 	{
193
-		return $this->controller->searchItems( $filter, $domains, $total );
193
+		return $this->controller->searchItems($filter, $domains, $total);
194 194
 	}
195 195
 
196 196
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Service/Decorator/Base.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@  discard block
 block discarded – undo
33 33
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
34 34
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
35 35
 	 */
36
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
36
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
37 37
 	{
38
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Service\\Iface', $controller );
38
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Service\\Iface', $controller);
39 39
 
40 40
 		$this->controller = $controller;
41 41
 
42
-		parent::__construct( $context );
42
+		parent::__construct($context);
43 43
 	}
44 44
 
45 45
 
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
 	 * @return mixed Returns the value of the called method
52 52
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
53 53
 	 */
54
-	public function __call( $name, array $param )
54
+	public function __call($name, array $param)
55 55
 	{
56
-		return @call_user_func_array( array( $this->controller, $name ), $param );
56
+		return @call_user_func_array(array($this->controller, $name), $param);
57 57
 	}
58 58
 
59 59
 
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
 	 * @param string[] $attributes List of attribute codes as keys and strings entered by the customer as value
65 65
 	 * @return string[] List of attributes codes as keys and error messages as values for invalid or missing values
66 66
 	 */
67
-	public function checkAttributes( $serviceId, array $attributes )
67
+	public function checkAttributes($serviceId, array $attributes)
68 68
 	{
69
-		return $this->controller->checkAttributes( $serviceId, $attributes );
69
+		return $this->controller->checkAttributes($serviceId, $attributes);
70 70
 	}
71 71
 
72 72
 
@@ -77,9 +77,9 @@  discard block
 block discarded – undo
77 77
 	 * @param array $ref List of domains for which the items referenced by the services should be fetched too
78 78
 	 * @return \Aimeos\MShop\Service\Provider\Iface Service provider object
79 79
 	 */
80
-	public function getProvider( $serviceId, $ref = ['media', 'price', 'text'] )
80
+	public function getProvider($serviceId, $ref = ['media', 'price', 'text'])
81 81
 	{
82
-		return $this->controller->getProvider( $serviceId, $ref );
82
+		return $this->controller->getProvider($serviceId, $ref);
83 83
 	}
84 84
 
85 85
 
@@ -90,9 +90,9 @@  discard block
 block discarded – undo
90 90
 	 * @param array $ref List of domains for which the items referenced by the services should be fetched too
91 91
 	 * @return \Aimeos\MShop\Service\Provider\Iface[] List of service IDs as keys and service provider objects as values
92 92
 	 */
93
-	public function getProviders( $type = null, $ref = ['media', 'price', 'text'] )
93
+	public function getProviders($type = null, $ref = ['media', 'price', 'text'])
94 94
 	{
95
-		return $this->controller->getProviders( $type, $ref );
95
+		return $this->controller->getProviders($type, $ref);
96 96
 	}
97 97
 
98 98
 
@@ -107,9 +107,9 @@  discard block
 block discarded – undo
107 107
 	 * @return \Aimeos\MShop\Common\Item\Helper\Form\Iface|null Form object with URL, parameters, etc.
108 108
 	 * 	or null if no form data is required
109 109
 	 */
110
-	public function process( \Aimeos\MShop\Order\Item\Iface $orderItem, $serviceId, array $urls, array $params )
110
+	public function process(\Aimeos\MShop\Order\Item\Iface $orderItem, $serviceId, array $urls, array $params)
111 111
 	{
112
-		return $this->controller->process( $orderItem, $serviceId, $urls, $params );
112
+		return $this->controller->process($orderItem, $serviceId, $urls, $params);
113 113
 	}
114 114
 
115 115
 
@@ -121,9 +121,9 @@  discard block
 block discarded – undo
121 121
 	 * @param string $code Unique code of the service used for the current order
122 122
 	 * @return \Psr\Http\Message\ResponseInterface Response object
123 123
 	 */
124
-	public function updatePush( ServerRequestInterface $request, ResponseInterface $response, $code )
124
+	public function updatePush(ServerRequestInterface $request, ResponseInterface $response, $code)
125 125
 	{
126
-		return $this->controller->updatePush( $request, $response, $code );
126
+		return $this->controller->updatePush($request, $response, $code);
127 127
 	}
128 128
 
129 129
 
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
 	 * @param string $orderid ID of the order whose payment status should be updated
136 136
 	 * @return \Aimeos\MShop\Order\Item\Iface $orderItem Order item that has been updated
137 137
 	 */
138
-	public function updateSync( ServerRequestInterface $request, $code, $orderid )
138
+	public function updateSync(ServerRequestInterface $request, $code, $orderid)
139 139
 	{
140
-		return $this->controller->updateSync( $request, $code, $orderid );
140
+		return $this->controller->updateSync($request, $code, $orderid);
141 141
 	}
142 142
 
143 143
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Order/Decorator/Base.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Order\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Order\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
 	 * @param string $type Arbitrary order type (max. eight chars)
62 62
 	 * @return \Aimeos\MShop\Order\Item\Iface Created order object
63 63
 	 */
64
-	public function addItem( $baseId, $type )
64
+	public function addItem($baseId, $type)
65 65
 	{
66
-		return $this->controller->addItem( $baseId, $type );
66
+		return $this->controller->addItem($baseId, $type);
67 67
 	}
68 68
 
69 69
 
@@ -85,9 +85,9 @@  discard block
 block discarded – undo
85 85
 	 * @param boolean $default Use default criteria to limit orders
86 86
 	 * @return \Aimeos\MShop\Order\Item\Iface Order object
87 87
 	 */
88
-	public function getItem( $id, $default = true )
88
+	public function getItem($id, $default = true)
89 89
 	{
90
-		return $this->controller->getItem( $id, $default );
90
+		return $this->controller->getItem($id, $default);
91 91
 	}
92 92
 
93 93
 
@@ -97,9 +97,9 @@  discard block
 block discarded – undo
97 97
 	 * @param \Aimeos\MShop\Order\Item\Iface $item Order object
98 98
 	 * @return \Aimeos\MShop\Order\Item\Iface Saved order item
99 99
 	 */
100
-	public function saveItem( \Aimeos\MShop\Order\Item\Iface $item )
100
+	public function saveItem(\Aimeos\MShop\Order\Item\Iface $item)
101 101
 	{
102
-		return $this->controller->saveItem( $item );
102
+		return $this->controller->saveItem($item);
103 103
 	}
104 104
 
105 105
 
@@ -110,9 +110,9 @@  discard block
 block discarded – undo
110 110
 	 * @param integer &$total|null Variable that will contain the total number of available items
111 111
 	 * @return \Aimeos\MShop\Order\Item\Iface[] Associative list of IDs as keys and order objects as values
112 112
 	 */
113
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null )
113
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null)
114 114
 	{
115
-		return $this->controller->searchItems( $filter, $total );
115
+		return $this->controller->searchItems($filter, $total);
116 116
 	}
117 117
 
118 118
 
@@ -135,9 +135,9 @@  discard block
 block discarded – undo
135 135
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
136 136
 	 * @return void
137 137
 	 */
138
-	public function block( \Aimeos\MShop\Order\Item\Iface $orderItem )
138
+	public function block(\Aimeos\MShop\Order\Item\Iface $orderItem)
139 139
 	{
140
-		$this->getController()->block( $orderItem );
140
+		$this->getController()->block($orderItem);
141 141
 	}
142 142
 
143 143
 
@@ -160,9 +160,9 @@  discard block
 block discarded – undo
160 160
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
161 161
 	 * @return void
162 162
 	 */
163
-	public function unblock( \Aimeos\MShop\Order\Item\Iface $orderItem )
163
+	public function unblock(\Aimeos\MShop\Order\Item\Iface $orderItem)
164 164
 	{
165
-		$this->getController()->unblock( $orderItem );
165
+		$this->getController()->unblock($orderItem);
166 166
 	}
167 167
 
168 168
 
@@ -181,9 +181,9 @@  discard block
 block discarded – undo
181 181
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
182 182
 	 * @return void
183 183
 	 */
184
-	public function update( \Aimeos\MShop\Order\Item\Iface $orderItem )
184
+	public function update(\Aimeos\MShop\Order\Item\Iface $orderItem)
185 185
 	{
186
-		$this->getController()->update( $orderItem );
186
+		$this->getController()->update($orderItem);
187 187
 	}
188 188
 
189 189
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Customer/Decorator/Base.php 1 patch
Spacing   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Customer\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Customer\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer item
62 62
 	 * @since 2017.04
63 63
 	 */
64
-	public function addItem( array $values )
64
+	public function addItem(array $values)
65 65
 	{
66
-		return $this->controller->addItem( $values );
66
+		return $this->controller->addItem($values);
67 67
 	}
68 68
 
69 69
 
@@ -73,9 +73,9 @@  discard block
 block discarded – undo
73 73
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer item
74 74
 	 * @since 2017.04
75 75
 	 */
76
-	public function createItem( array $values = [] )
76
+	public function createItem(array $values = [])
77 77
 	{
78
-		return $this->controller->createItem( $values );
78
+		return $this->controller->createItem($values);
79 79
 	}
80 80
 
81 81
 
@@ -85,9 +85,9 @@  discard block
 block discarded – undo
85 85
 	 * @param string $id Unique customer ID
86 86
 	 * @since 2017.04
87 87
 	 */
88
-	public function deleteItem( $id )
88
+	public function deleteItem($id)
89 89
 	{
90
-		return $this->controller->deleteItem( $id );
90
+		return $this->controller->deleteItem($id);
91 91
 	}
92 92
 
93 93
 
@@ -99,9 +99,9 @@  discard block
 block discarded – undo
99 99
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer item
100 100
 	 * @since 2017.04
101 101
 	 */
102
-	public function editItem( $id, array $values )
102
+	public function editItem($id, array $values)
103 103
 	{
104
-		return $this->controller->editItem( $id, $values );
104
+		return $this->controller->editItem($id, $values);
105 105
 	}
106 106
 
107 107
 
@@ -113,9 +113,9 @@  discard block
 block discarded – undo
113 113
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer item including the referenced domains items
114 114
 	 * @since 2017.04
115 115
 	 */
116
-	public function getItem( $id = null, array $domains = [] )
116
+	public function getItem($id = null, array $domains = [])
117 117
 	{
118
-		return $this->controller->getItem( $id, $domains );
118
+		return $this->controller->getItem($id, $domains);
119 119
 	}
120 120
 
121 121
 
@@ -129,9 +129,9 @@  discard block
 block discarded – undo
129 129
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer item including the referenced domains items
130 130
 	 * @since 2017.04
131 131
 	 */
132
-	public function findItem( $code, array $domains = [] )
132
+	public function findItem($code, array $domains = [])
133 133
 	{
134
-		return $this->controller->findItem( $code, $domains );
134
+		return $this->controller->findItem($code, $domains);
135 135
 	}
136 136
 
137 137
 
@@ -141,9 +141,9 @@  discard block
 block discarded – undo
141 141
 	 * @param \Aimeos\MShop\Customer\Item\Iface Customer item
142 142
 	 * @since 2017.04
143 143
 	 */
144
-	public function saveItem( \Aimeos\MShop\Customer\Item\Iface $item )
144
+	public function saveItem(\Aimeos\MShop\Customer\Item\Iface $item)
145 145
 	{
146
-		return $this->controller->saveItem( $item );
146
+		return $this->controller->saveItem($item);
147 147
 	}
148 148
 
149 149
 
@@ -154,9 +154,9 @@  discard block
 block discarded – undo
154 154
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer address item
155 155
 	 * @since 2017.04
156 156
 	 */
157
-	public function addAddressItem( array $values )
157
+	public function addAddressItem(array $values)
158 158
 	{
159
-		return $this->controller->addAddressItem( $values );
159
+		return $this->controller->addAddressItem($values);
160 160
 	}
161 161
 
162 162
 
@@ -166,9 +166,9 @@  discard block
 block discarded – undo
166 166
 	 * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item
167 167
 	 * @since 2017.04
168 168
 	 */
169
-	public function createAddressItem( array $values = [] )
169
+	public function createAddressItem(array $values = [])
170 170
 	{
171
-		return $this->controller->createAddressItem( $values );
171
+		return $this->controller->createAddressItem($values);
172 172
 	}
173 173
 
174 174
 
@@ -178,9 +178,9 @@  discard block
 block discarded – undo
178 178
 	 * @param string $id Unique customer address ID
179 179
 	 * @since 2017.04
180 180
 	 */
181
-	public function deleteAddressItem( $id )
181
+	public function deleteAddressItem($id)
182 182
 	{
183
-		$this->controller->deleteAddressItem( $id );
183
+		$this->controller->deleteAddressItem($id);
184 184
 	}
185 185
 
186 186
 
@@ -192,9 +192,9 @@  discard block
 block discarded – undo
192 192
 	 * @return \Aimeos\MShop\Customer\Item\Iface Customer address item
193 193
 	 * @since 2017.04
194 194
 	 */
195
-	public function editAddressItem( $id, array $values )
195
+	public function editAddressItem($id, array $values)
196 196
 	{
197
-		return $this->controller->editAddressItem( $id, $values );
197
+		return $this->controller->editAddressItem($id, $values);
198 198
 	}
199 199
 
200 200
 
@@ -205,9 +205,9 @@  discard block
 block discarded – undo
205 205
 	 * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item
206 206
 	 * @since 2017.04
207 207
 	 */
208
-	public function getAddressItem( $id )
208
+	public function getAddressItem($id)
209 209
 	{
210
-		return $this->controller->getAddressItem( $id );
210
+		return $this->controller->getAddressItem($id);
211 211
 	}
212 212
 
213 213
 
@@ -217,9 +217,9 @@  discard block
 block discarded – undo
217 217
 	 * @param \Aimeos\MShop\Customer\Item\Address\Iface Customer address item
218 218
 	 * @since 2017.04
219 219
 	 */
220
-	public function saveAddressItem( \Aimeos\MShop\Customer\Item\Address\Iface $item )
220
+	public function saveAddressItem(\Aimeos\MShop\Customer\Item\Address\Iface $item)
221 221
 	{
222
-		$this->controller->saveAddressItem( $item );
222
+		$this->controller->saveAddressItem($item);
223 223
 	}
224 224
 
225 225
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Stock/Decorator/Base.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Stock\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Stock\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
63 63
 	 * @since 2017.03
64 64
 	 */
65
-	public function addFilterCodes( \Aimeos\MW\Criteria\Iface $filter, array $codes )
65
+	public function addFilterCodes(\Aimeos\MW\Criteria\Iface $filter, array $codes)
66 66
 	{
67
-		return $this->controller->addFilterCodes( $filter, $codes );
67
+		return $this->controller->addFilterCodes($filter, $codes);
68 68
 	}
69 69
 
70 70
 
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
 	 * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching
77 77
 	 * @since 2017.03
78 78
 	 */
79
-	public function addFilterTypes( \Aimeos\MW\Criteria\Iface $filter, array $codes )
79
+	public function addFilterTypes(\Aimeos\MW\Criteria\Iface $filter, array $codes)
80 80
 	{
81
-		return $this->controller->addFilterTypes( $filter, $codes );
81
+		return $this->controller->addFilterTypes($filter, $codes);
82 82
 	}
83 83
 
84 84
 
@@ -102,9 +102,9 @@  discard block
 block discarded – undo
102 102
 	 * @return \Aimeos\MShop\Stock\Item\Iface Stock item including the referenced domains items
103 103
 	 * @since 2017.03
104 104
 	 */
105
-	public function getItem( $id )
105
+	public function getItem($id)
106 106
 	{
107
-		return $this->controller->getItem( $id );
107
+		return $this->controller->getItem($id);
108 108
 	}
109 109
 
110 110
 
@@ -116,9 +116,9 @@  discard block
 block discarded – undo
116 116
 	 * @return array Ordered list of stock items implementing \Aimeos\MShop\Stock\Item\Iface
117 117
 	 * @since 2017.03
118 118
 	 */
119
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null )
119
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null)
120 120
 	{
121
-		return $this->controller->searchItems( $filter, $total );
121
+		return $this->controller->searchItems($filter, $total);
122 122
 	}
123 123
 
124 124
 
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Supplier/Decorator/Base.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -30,13 +30,13 @@  discard block
 block discarded – undo
30 30
 	 * @param \Aimeos\Controller\Frontend\Iface $controller Controller object
31 31
 	 * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects
32 32
 	 */
33
-	public function __construct( \Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context )
33
+	public function __construct(\Aimeos\Controller\Frontend\Iface $controller, \Aimeos\MShop\Context\Item\Iface $context)
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\Controller\\Frontend\\Supplier\\Iface', $controller );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Supplier\\Iface', $controller);
36 36
 
37 37
 		$this->controller = $controller;
38 38
 
39
-		parent::__construct( $context );
39
+		parent::__construct($context);
40 40
 	}
41 41
 
42 42
 
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
 	 * @return mixed Returns the value of the called method
49 49
 	 * @throws \Aimeos\Controller\Frontend\Exception If method call failed
50 50
 	 */
51
-	public function __call( $name, array $param )
51
+	public function __call($name, array $param)
52 52
 	{
53
-		return @call_user_func_array( array( $this->controller, $name ), $param );
53
+		return @call_user_func_array(array($this->controller, $name), $param);
54 54
 	}
55 55
 
56 56
 
@@ -75,9 +75,9 @@  discard block
 block discarded – undo
75 75
 	 * @return \Aimeos\MShop\Supplier\Item\Iface Supplier item including the referenced domains items
76 76
 	 * @since 2018.07
77 77
 	 */
78
-	public function getItem( $id, array $domains = array( 'media', 'text' ) )
78
+	public function getItem($id, array $domains = array('media', 'text'))
79 79
 	{
80
-		return $this->controller->getItem( $id, $domains );
80
+		return $this->controller->getItem($id, $domains);
81 81
 	}
82 82
 
83 83
 
@@ -89,9 +89,9 @@  discard block
 block discarded – undo
89 89
 	 * @return \Aimeos\MShop\Supplier\Item\Iface[] Associative list of supplier item including the referenced domains items
90 90
 	 * @since 2018.07
91 91
 	 */
92
-	public function getItems( array $ids, array $domains = array( 'media', 'text' ) )
92
+	public function getItems(array $ids, array $domains = array('media', 'text'))
93 93
 	{
94
-		return $this->controller->getItems( $ids, $domains );
94
+		return $this->controller->getItems($ids, $domains);
95 95
 	}
96 96
 
97 97
 
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
 	 * @return array Ordered list of supplier items implementing \Aimeos\MShop\Supplier\Item\Iface
105 105
 	 * @since 2018.07
106 106
 	 */
107
-	public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array( 'media', 'text' ), &$total = null )
107
+	public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = array('media', 'text'), &$total = null)
108 108
 	{
109
-		return $this->controller->searchItems( $filter, $domains, $total );
109
+		return $this->controller->searchItems($filter, $domains, $total);
110 110
 	}
111 111
 
112 112
 
Please login to merge, or discard this patch.