@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @return \Aimeos\MShop\Locale\Item\Iface Locale item including the referenced domains items |
37 | 37 | * @since 2017.03 |
38 | 38 | */ |
39 | - public function getItem( $id, array $domains = [] ); |
|
39 | + public function getItem($id, array $domains = []); |
|
40 | 40 | |
41 | 41 | |
42 | 42 | /** |
@@ -48,5 +48,5 @@ discard block |
||
48 | 48 | * @return array Ordered list of locale items implementing \Aimeos\MShop\Locale\Item\Iface |
49 | 49 | * @since 2017.03 |
50 | 50 | */ |
51 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = [], &$total = null ); |
|
51 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = [], &$total = null); |
|
52 | 52 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @return \Aimeos\MShop\Customer\Item\Iface Customer item |
27 | 27 | * @since 2017.04 |
28 | 28 | */ |
29 | - public function addItem( array $values ); |
|
29 | + public function addItem(array $values); |
|
30 | 30 | |
31 | 31 | |
32 | 32 | /** |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * @return \Aimeos\MShop\Customer\Item\Iface Customer item |
36 | 36 | * @since 2017.04 |
37 | 37 | */ |
38 | - public function createItem( array $values = [] ); |
|
38 | + public function createItem(array $values = []); |
|
39 | 39 | |
40 | 40 | |
41 | 41 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param string $id Unique customer ID |
45 | 45 | * @since 2017.04 |
46 | 46 | */ |
47 | - public function deleteItem( $id ); |
|
47 | + public function deleteItem($id); |
|
48 | 48 | |
49 | 49 | |
50 | 50 | /** |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @return \Aimeos\MShop\Customer\Item\Iface Customer item |
56 | 56 | * @since 2017.04 |
57 | 57 | */ |
58 | - public function editItem( $id, array $values ); |
|
58 | + public function editItem($id, array $values); |
|
59 | 59 | |
60 | 60 | |
61 | 61 | /** |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * @return \Aimeos\MShop\Customer\Item\Iface Customer item including the referenced domains items |
67 | 67 | * @since 2017.04 |
68 | 68 | */ |
69 | - public function getItem( $id = null, array $domains = [] ); |
|
69 | + public function getItem($id = null, array $domains = []); |
|
70 | 70 | |
71 | 71 | |
72 | 72 | /** |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | * @return \Aimeos\MShop\Customer\Item\Iface Customer item including the referenced domains items |
80 | 80 | * @since 2017.04 |
81 | 81 | */ |
82 | - public function findItem( $code, array $domains = [] ); |
|
82 | + public function findItem($code, array $domains = []); |
|
83 | 83 | |
84 | 84 | |
85 | 85 | /** |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item including the generated ID |
90 | 90 | * @since 2017.04 |
91 | 91 | */ |
92 | - public function saveItem( \Aimeos\MShop\Customer\Item\Iface $item ); |
|
92 | + public function saveItem(\Aimeos\MShop\Customer\Item\Iface $item); |
|
93 | 93 | |
94 | 94 | |
95 | 95 | /** |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * @return \Aimeos\MShop\Customer\Item\Iface Customer address item |
100 | 100 | * @since 2017.04 |
101 | 101 | */ |
102 | - public function addAddressItem( array $values ); |
|
102 | + public function addAddressItem(array $values); |
|
103 | 103 | |
104 | 104 | |
105 | 105 | /** |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item |
109 | 109 | * @since 2017.04 |
110 | 110 | */ |
111 | - public function createAddressItem( array $values = [] ); |
|
111 | + public function createAddressItem(array $values = []); |
|
112 | 112 | |
113 | 113 | |
114 | 114 | /** |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @param string $id Unique customer address ID |
118 | 118 | * @since 2017.04 |
119 | 119 | */ |
120 | - public function deleteAddressItem( $id ); |
|
120 | + public function deleteAddressItem($id); |
|
121 | 121 | |
122 | 122 | |
123 | 123 | /** |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * @return \Aimeos\MShop\Customer\Item\Iface Customer address item |
129 | 129 | * @since 2017.04 |
130 | 130 | */ |
131 | - public function editAddressItem( $id, array $values ); |
|
131 | + public function editAddressItem($id, array $values); |
|
132 | 132 | |
133 | 133 | |
134 | 134 | /** |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item |
139 | 139 | * @since 2017.04 |
140 | 140 | */ |
141 | - public function getAddressItem( $id ); |
|
141 | + public function getAddressItem($id); |
|
142 | 142 | |
143 | 143 | |
144 | 144 | /** |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item including the generated ID |
149 | 149 | * @since 2017.04 |
150 | 150 | */ |
151 | - public function saveAddressItem( \Aimeos\MShop\Customer\Item\Address\Iface $item ); |
|
151 | + public function saveAddressItem(\Aimeos\MShop\Customer\Item\Address\Iface $item); |
|
152 | 152 | |
153 | 153 | /** |
154 | 154 | * Creates and returns a new list item object |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * @return \Aimeos\MShop\Common\Item\Lists\Iface Customer lists item |
158 | 158 | * @since 2017.06 |
159 | 159 | */ |
160 | - public function addListItem( array $values ); |
|
160 | + public function addListItem(array $values); |
|
161 | 161 | |
162 | 162 | /** |
163 | 163 | * Returns a new customer lists filter criteria object |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * @param string $id Unique customer address ID |
174 | 174 | * @since 2017.06 |
175 | 175 | */ |
176 | - public function deleteListItem( $id ); |
|
176 | + public function deleteListItem($id); |
|
177 | 177 | |
178 | 178 | /** |
179 | 179 | * Saves a modified customer lists item object |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | * @return \Aimeos\MShop\Common\Item\Lists\Iface Customer lists item |
184 | 184 | * @since 2017.06 |
185 | 185 | */ |
186 | - public function editListItem( $id, array $values ); |
|
186 | + public function editListItem($id, array $values); |
|
187 | 187 | |
188 | 188 | /** |
189 | 189 | * Returns the customer item for the given customer ID |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @return \Aimeos\MShop\Customer\Item\Address\Iface Customer address item |
193 | 193 | * @since 2017.06 |
194 | 194 | */ |
195 | - public function getListItem( $id ); |
|
195 | + public function getListItem($id); |
|
196 | 196 | |
197 | 197 | /** |
198 | 198 | * Returns the customer lists items filtered by the given criteria |
@@ -202,5 +202,5 @@ discard block |
||
202 | 202 | * @return \Aimeos\MShop\Common\Item\Lists\Iface[] Customer list items |
203 | 203 | * @since 2017.06 |
204 | 204 | */ |
205 | - public function searchListItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null ); |
|
205 | + public function searchListItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null); |
|
206 | 206 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * @param string $type Basket type |
51 | 51 | * @return \Aimeos\Controller\Frontend\Basket\Iface Basket frontend object |
52 | 52 | */ |
53 | - public function setType( $type ); |
|
53 | + public function setType($type); |
|
54 | 54 | |
55 | 55 | |
56 | 56 | /** |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param boolean $default True to add default criteria (user logged in), false if not |
70 | 70 | * @return \Aimeos\MShop\Order\Item\Base\Iface Order base object including the given parts |
71 | 71 | */ |
72 | - public function load( $id, $parts = \Aimeos\MShop\Order\Item\Base\Base::PARTS_ALL, $default = true ); |
|
72 | + public function load($id, $parts = \Aimeos\MShop\Order\Item\Base\Base::PARTS_ALL, $default = true); |
|
73 | 73 | |
74 | 74 | |
75 | 75 | /** |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | * @throws \Aimeos\Controller\Frontend\Basket\Exception If the product isn't available |
89 | 89 | * @return void |
90 | 90 | */ |
91 | - public function addProduct( $prodid, $quantity = 1, $stocktype = 'default', array $variantAttributeIds = [], |
|
92 | - array $configAttributeIds = [], array $hiddenAttributeIds = [], array $customAttributeValues = [] ); |
|
91 | + public function addProduct($prodid, $quantity = 1, $stocktype = 'default', array $variantAttributeIds = [], |
|
92 | + array $configAttributeIds = [], array $hiddenAttributeIds = [], array $customAttributeValues = []); |
|
93 | 93 | |
94 | 94 | |
95 | 95 | /** |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * @param integer $position Position number (key) of the order product item |
99 | 99 | * @return void |
100 | 100 | */ |
101 | - public function deleteProduct( $position ); |
|
101 | + public function deleteProduct($position); |
|
102 | 102 | |
103 | 103 | |
104 | 104 | /** |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @param array $configAttributeCodes Codes of the product config attributes that should be REMOVED |
110 | 110 | * @return void |
111 | 111 | */ |
112 | - public function editProduct( $position, $quantity, array $configAttributeCodes = [] ); |
|
112 | + public function editProduct($position, $quantity, array $configAttributeCodes = []); |
|
113 | 113 | |
114 | 114 | |
115 | 115 | /** |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * @throws \Aimeos\Controller\Frontend\Basket\Exception if the coupon code is invalid or not allowed |
120 | 120 | * @return void |
121 | 121 | */ |
122 | - public function addCoupon( $code ); |
|
122 | + public function addCoupon($code); |
|
123 | 123 | |
124 | 124 | |
125 | 125 | /** |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | * @throws \Aimeos\Controller\Frontend\Basket\Exception if the coupon code is invalid |
130 | 130 | * @return void |
131 | 131 | */ |
132 | - public function deleteCoupon( $code ); |
|
132 | + public function deleteCoupon($code); |
|
133 | 133 | |
134 | 134 | |
135 | 135 | /** |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * if one of the keys is invalid when using an array with key/value pairs |
142 | 142 | * @return void |
143 | 143 | */ |
144 | - public function setAddress( $type, $value ); |
|
144 | + public function setAddress($type, $value); |
|
145 | 145 | |
146 | 146 | |
147 | 147 | /** |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * entered by the customer when choosing one of the delivery or payment options |
154 | 154 | * @throws \Aimeos\Controller\Frontend\Basket\Exception If there is no price to the service item attached |
155 | 155 | */ |
156 | - public function addService( $type, $id, array $attributes = [] ); |
|
156 | + public function addService($type, $id, array $attributes = []); |
|
157 | 157 | |
158 | 158 | |
159 | 159 | /** |
@@ -161,5 +161,5 @@ discard block |
||
161 | 161 | * |
162 | 162 | * @param string $type Service type code like 'payment' or 'delivery' |
163 | 163 | */ |
164 | - public function deleteService( $type ); |
|
164 | + public function deleteService($type); |
|
165 | 165 | } |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param string[] $attributes List of attribute codes as keys and strings entered by the customer as value |
31 | 31 | * @return string[] List of attributes codes as keys and error messages as values for invalid or missing values |
32 | 32 | */ |
33 | - public function checkAttributes( $serviceId, array $attributes ); |
|
33 | + public function checkAttributes($serviceId, array $attributes); |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * Returns the service item for the given ID |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @param array $ref List of domains for which the items referenced by the services should be fetched too |
40 | 40 | * @return \Aimeos\MShop\Service\Provider\Iface Service provider object |
41 | 41 | */ |
42 | - public function getProvider( $serviceId, $ref = ['media', 'price', 'text'] ); |
|
42 | + public function getProvider($serviceId, $ref = ['media', 'price', 'text']); |
|
43 | 43 | |
44 | 44 | /** |
45 | 45 | * Returns the service providers for the given type |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param array $ref List of domains for which the items referenced by the services should be fetched too |
49 | 49 | * @return \Aimeos\MShop\Service\Provider\Iface[] List of service IDs as keys and service provider objects as values |
50 | 50 | */ |
51 | - public function getProviders( $type = null, $ref = ['media', 'price', 'text'] ); |
|
51 | + public function getProviders($type = null, $ref = ['media', 'price', 'text']); |
|
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Processes the service for the given order, e.g. payment and delivery services |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * @return \Aimeos\MShop\Common\Item\Helper\Form\Iface|null Form object with URL, parameters, etc. |
62 | 62 | * or null if no form data is required |
63 | 63 | */ |
64 | - public function process( \Aimeos\MShop\Order\Item\Iface $orderItem, $serviceId, array $urls, array $params ); |
|
64 | + public function process(\Aimeos\MShop\Order\Item\Iface $orderItem, $serviceId, array $urls, array $params); |
|
65 | 65 | |
66 | 66 | |
67 | 67 | /** |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param string $code Unique code of the service used for the current order |
73 | 73 | * @return \Psr\Http\Message\ResponseInterface Response object |
74 | 74 | */ |
75 | - public function updatePush( ServerRequestInterface $request, ResponseInterface $response, $code ); |
|
75 | + public function updatePush(ServerRequestInterface $request, ResponseInterface $response, $code); |
|
76 | 76 | |
77 | 77 | |
78 | 78 | /** |
@@ -83,5 +83,5 @@ discard block |
||
83 | 83 | * @param string $orderid ID of the order whose payment status should be updated |
84 | 84 | * @return \Aimeos\MShop\Order\Item\Iface $orderItem Order item that has been updated |
85 | 85 | */ |
86 | - public function updateSync( ServerRequestInterface $request, $code, $orderid ); |
|
86 | + public function updateSync(ServerRequestInterface $request, $code, $orderid); |
|
87 | 87 | } |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * @param string $type Arbitrary order type (max. eight chars) |
28 | 28 | * @return \Aimeos\MShop\Order\Item\Iface Created order object |
29 | 29 | */ |
30 | - public function addItem( $baseId, $type ); |
|
30 | + public function addItem($baseId, $type); |
|
31 | 31 | |
32 | 32 | |
33 | 33 | /** |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * @param boolean $default Use default criteria to limit orders |
46 | 46 | * @return \Aimeos\MShop\Order\Item\Iface Order object |
47 | 47 | */ |
48 | - public function getItem( $id, $default = true ); |
|
48 | + public function getItem($id, $default = true); |
|
49 | 49 | |
50 | 50 | |
51 | 51 | /** |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * @param \Aimeos\MShop\Order\Item\Iface $item Order object |
55 | 55 | * @return \Aimeos\MShop\Order\Item\Iface Saved order item |
56 | 56 | */ |
57 | - public function saveItem( \Aimeos\MShop\Order\Item\Iface $item ); |
|
57 | + public function saveItem(\Aimeos\MShop\Order\Item\Iface $item); |
|
58 | 58 | |
59 | 59 | |
60 | 60 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * @param integer &$total|null Variable that will contain the total number of available items |
65 | 65 | * @return \Aimeos\MShop\Order\Item\Iface[] Associative list of IDs as keys and order objects as values |
66 | 66 | */ |
67 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null ); |
|
67 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null); |
|
68 | 68 | |
69 | 69 | |
70 | 70 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object |
87 | 87 | * @return void |
88 | 88 | */ |
89 | - public function block( \Aimeos\MShop\Order\Item\Iface $orderItem ); |
|
89 | + public function block(\Aimeos\MShop\Order\Item\Iface $orderItem); |
|
90 | 90 | |
91 | 91 | |
92 | 92 | /** |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object |
109 | 109 | * @return void |
110 | 110 | */ |
111 | - public function unblock( \Aimeos\MShop\Order\Item\Iface $orderItem ); |
|
111 | + public function unblock(\Aimeos\MShop\Order\Item\Iface $orderItem); |
|
112 | 112 | |
113 | 113 | |
114 | 114 | /** |
@@ -126,5 +126,5 @@ discard block |
||
126 | 126 | * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object |
127 | 127 | * @return void |
128 | 128 | */ |
129 | - public function update( \Aimeos\MShop\Order\Item\Iface $orderItem ); |
|
129 | + public function update(\Aimeos\MShop\Order\Item\Iface $orderItem); |
|
130 | 130 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * @return array Associative list of items implementing \Aimeos\MShop\Catalog\Item\Iface with their IDs as keys |
38 | 38 | * @since 2017.03 |
39 | 39 | */ |
40 | - public function getPath( $id, array $domains = array( 'text', 'media' ) ); |
|
40 | + public function getPath($id, array $domains = array('text', 'media')); |
|
41 | 41 | |
42 | 42 | |
43 | 43 | /** |
@@ -51,6 +51,6 @@ discard block |
||
51 | 51 | * @return \Aimeos\MShop\Catalog\Item\Iface Catalog node, maybe with children depending on the level constant |
52 | 52 | * @since 2017.03 |
53 | 53 | */ |
54 | - public function getTree( $id = null, array $domains = array( 'text', 'media' ), |
|
55 | - $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_TREE, \Aimeos\MW\Criteria\Iface $search = null ); |
|
54 | + public function getTree($id = null, array $domains = array('text', 'media'), |
|
55 | + $level = \Aimeos\MW\Tree\Manager\Base::LEVEL_TREE, \Aimeos\MW\Criteria\Iface $search = null); |
|
56 | 56 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * @param string $id Unique subscription ID |
26 | 26 | * @return \Aimeos\MShop\Subscription\Item\Iface Canceled subscription item |
27 | 27 | */ |
28 | - public function cancel( $id ); |
|
28 | + public function cancel($id); |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Returns the filter for searching items |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @param string $id Unique subscription ID |
48 | 48 | * @return \Aimeos\MShop\Subscription\Item\Iface Subscription object |
49 | 49 | */ |
50 | - public function getItem( $id ); |
|
50 | + public function getItem($id); |
|
51 | 51 | |
52 | 52 | /** |
53 | 53 | * Saves the modified subscription item |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * @param \Aimeos\MShop\Subscription\Item\Iface $item Subscription object |
56 | 56 | * @return \Aimeos\MShop\Subscription\Item\Iface Saved subscription item |
57 | 57 | */ |
58 | - public function saveItem( \Aimeos\MShop\Subscription\Item\Iface $item ); |
|
58 | + public function saveItem(\Aimeos\MShop\Subscription\Item\Iface $item); |
|
59 | 59 | |
60 | 60 | /** |
61 | 61 | * Returns the subscription items based on the given filter that belong to the current user |
@@ -64,5 +64,5 @@ discard block |
||
64 | 64 | * @param integer &$total|null Variable that will contain the total number of available items |
65 | 65 | * @return \Aimeos\MShop\Subscription\Item\Iface[] Associative list of IDs as keys and subscription objects as values |
66 | 66 | */ |
67 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null ); |
|
67 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null); |
|
68 | 68 | } |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | * @return \Aimeos\MShop\Supplier\Item\Iface Supplier item including the referenced domains items |
37 | 37 | * @since 2018.07 |
38 | 38 | */ |
39 | - public function getItem( $id, array $domains = array( 'media', 'text' ) ); |
|
39 | + public function getItem($id, array $domains = array('media', 'text')); |
|
40 | 40 | |
41 | 41 | |
42 | 42 | /** |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @return \Aimeos\MShop\Supplier\Item\Iface[] Associative list of supplier item including the referenced domains items |
48 | 48 | * @since 2018.07 |
49 | 49 | */ |
50 | - public function getItems( array $ids, array $domains = array( 'media', 'text' ) ); |
|
50 | + public function getItems(array $ids, array $domains = array('media', 'text')); |
|
51 | 51 | |
52 | 52 | |
53 | 53 | /** |
@@ -59,5 +59,5 @@ discard block |
||
59 | 59 | * @return array Ordered list of supplier items implementing \Aimeos\MShop\Supplier\Item\Iface |
60 | 60 | * @since 2018.07 |
61 | 61 | */ |
62 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array( 'media', 'text' ), &$total = null ); |
|
62 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = array('media', 'text'), &$total = null); |
|
63 | 63 | } |
@@ -30,13 +30,13 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |