@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * |
| 29 | 29 | * @param \Aimeos\MShop\Context\Item\Iface $context Common MShop context object |
| 30 | 30 | */ |
| 31 | - public function __construct( \Aimeos\MShop\Context\Item\Iface $context ) |
|
| 31 | + public function __construct(\Aimeos\MShop\Context\Item\Iface $context) |
|
| 32 | 32 | { |
| 33 | 33 | $this->context = $context; |
| 34 | 34 | } |
@@ -41,9 +41,9 @@ discard block |
||
| 41 | 41 | * @param array $param List of method parameter |
| 42 | 42 | * @throws \Aimeos\Controller\Frontend\Exception If method call failed |
| 43 | 43 | */ |
| 44 | - public function __call( $name, array $param ) |
|
| 44 | + public function __call($name, array $param) |
|
| 45 | 45 | { |
| 46 | - throw new \Aimeos\Controller\Frontend\Exception( sprintf( 'Unable to call method "%1$s"', $name ) ); |
|
| 46 | + throw new \Aimeos\Controller\Frontend\Exception(sprintf('Unable to call method "%1$s"', $name)); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
| 28 | 28 | * @since 2017.03 |
| 29 | 29 | */ |
| 30 | - public function addFilterCodes( \Aimeos\MW\Criteria\Iface $filter, array $codes ); |
|
| 30 | + public function addFilterCodes(\Aimeos\MW\Criteria\Iface $filter, array $codes); |
|
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
| 39 | 39 | * @since 2017.03 |
| 40 | 40 | */ |
| 41 | - public function addFilterTypes( \Aimeos\MW\Criteria\Iface $filter, array $codes ); |
|
| 41 | + public function addFilterTypes(\Aimeos\MW\Criteria\Iface $filter, array $codes); |
|
| 42 | 42 | |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @return \Aimeos\MShop\Stock\Item\Iface Stock item including the referenced domains items |
| 59 | 59 | * @since 2017.03 |
| 60 | 60 | */ |
| 61 | - public function getItem( $id ); |
|
| 61 | + public function getItem($id); |
|
| 62 | 62 | |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -69,5 +69,5 @@ discard block |
||
| 69 | 69 | * @return array Ordered list of stock items implementing \Aimeos\MShop\Stock\Item\Iface |
| 70 | 70 | * @since 2017.03 |
| 71 | 71 | */ |
| 72 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, &$total = null ); |
|
| 72 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, &$total = null); |
|
| 73 | 73 | } |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | /** |
| 129 | 129 | * Returns the frontend controller |
| 130 | 130 | * |
| 131 | - * @return \Aimeos\Controller\Frontend\Attribute\Iface Frontend controller object |
|
| 131 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
| 132 | 132 | */ |
| 133 | 133 | protected function getController() |
| 134 | 134 | { |
@@ -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\\Attribute\\Iface', $controller ); |
|
| 35 | + \Aimeos\MW\Common\Base::checkClass('\\Aimeos\\Controller\\Frontend\\Attribute\\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 | |
@@ -62,9 +62,9 @@ discard block |
||
| 62 | 62 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
| 63 | 63 | * @since 2017.03 |
| 64 | 64 | */ |
| 65 | - public function addFilterTypes( \Aimeos\MW\Criteria\Iface $filter, array $codes ) |
|
| 65 | + public function addFilterTypes(\Aimeos\MW\Criteria\Iface $filter, array $codes) |
|
| 66 | 66 | { |
| 67 | - return $this->controller->addFilterTypes( $filter, $codes ); |
|
| 67 | + return $this->controller->addFilterTypes($filter, $codes); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | |
@@ -89,9 +89,9 @@ discard block |
||
| 89 | 89 | * @return \Aimeos\MShop\Attribute\Item\Iface Attribute item including the referenced domains items |
| 90 | 90 | * @since 2017.03 |
| 91 | 91 | */ |
| 92 | - public function getItem( $id, array $domains = array( 'media', 'price', 'text' ) ) |
|
| 92 | + public function getItem($id, array $domains = array('media', 'price', 'text')) |
|
| 93 | 93 | { |
| 94 | - return $this->controller->getItem( $id, $domains ); |
|
| 94 | + return $this->controller->getItem($id, $domains); |
|
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | |
@@ -103,9 +103,9 @@ discard block |
||
| 103 | 103 | * @return \Aimeos\MShop\Attribute\Item\Iface[] Associative list of attribute item including the referenced domains items |
| 104 | 104 | * @since 2017.03 |
| 105 | 105 | */ |
| 106 | - public function getItems( array $ids, array $domains = array( 'media', 'price', 'text' ) ) |
|
| 106 | + public function getItems(array $ids, array $domains = array('media', 'price', 'text')) |
|
| 107 | 107 | { |
| 108 | - return $this->controller->getItems( $ids, $domains ); |
|
| 108 | + return $this->controller->getItems($ids, $domains); |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | |
@@ -118,9 +118,9 @@ discard block |
||
| 118 | 118 | * @return array Ordered list of attribute items implementing \Aimeos\MShop\Attribute\Item\Iface |
| 119 | 119 | * @since 2017.03 |
| 120 | 120 | */ |
| 121 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array( 'media', 'price', 'text' ), &$total = null ) |
|
| 121 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = array('media', 'price', 'text'), &$total = null) |
|
| 122 | 122 | { |
| 123 | - return $this->controller->searchItems( $filter, $domains, $total ); |
|
| 123 | + return $this->controller->searchItems($filter, $domains, $total); |
|
| 124 | 124 | } |
| 125 | 125 | |
| 126 | 126 | |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | /** |
| 141 | 141 | * Returns the frontend controller |
| 142 | 142 | * |
| 143 | - * @return \Aimeos\Controller\Frontend\Stock\Iface Frontend controller object |
|
| 143 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
| 144 | 144 | */ |
| 145 | 145 | protected function getController() |
| 146 | 146 | { |
@@ -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\\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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
| 28 | 28 | * @since 2017.03 |
| 29 | 29 | */ |
| 30 | - public function addFilterTypes( \Aimeos\MW\Criteria\Iface $filter, array $codes ); |
|
| 30 | + public function addFilterTypes(\Aimeos\MW\Criteria\Iface $filter, array $codes); |
|
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * @return \Aimeos\MShop\Attribute\Item\Iface Attribute item including the referenced domains items |
| 48 | 48 | * @since 2017.03 |
| 49 | 49 | */ |
| 50 | - public function getItem( $id, array $domains = array( 'media', 'price', 'text' ) ); |
|
| 50 | + public function getItem($id, array $domains = array('media', 'price', 'text')); |
|
| 51 | 51 | |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @return \Aimeos\MShop\Attribute\Item\Iface[] Associative list of attribute item including the referenced domains items |
| 59 | 59 | * @since 2017.03 |
| 60 | 60 | */ |
| 61 | - public function getItems( array $ids, array $domains = array( 'media', 'price', 'text' ) ); |
|
| 61 | + public function getItems(array $ids, array $domains = array('media', 'price', 'text')); |
|
| 62 | 62 | |
| 63 | 63 | |
| 64 | 64 | /** |
@@ -70,5 +70,5 @@ discard block |
||
| 70 | 70 | * @return array Ordered list of attribute items implementing \Aimeos\MShop\Attribute\Item\Iface |
| 71 | 71 | * @since 2017.03 |
| 72 | 72 | */ |
| 73 | - public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array( 'media', 'price', 'text' ), &$total = null ); |
|
| 73 | + public function searchItems(\Aimeos\MW\Criteria\Iface $filter, array $domains = array('media', 'price', 'text'), &$total = null); |
|
| 74 | 74 | } |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | /** |
| 105 | 105 | * Returns the frontend controller |
| 106 | 106 | * |
| 107 | - * @return \Aimeos\Controller\Frontend\Locale\Iface Frontend controller object |
|
| 107 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
| 108 | 108 | */ |
| 109 | 109 | protected function getController() |
| 110 | 110 | { |
@@ -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 | |
@@ -231,7 +231,7 @@ |
||
| 231 | 231 | /** |
| 232 | 232 | * Returns the frontend controller |
| 233 | 233 | * |
| 234 | - * @return \Aimeos\Controller\Frontend\Customer\Iface Frontend controller object |
|
| 234 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
| 235 | 235 | * @since 2017.04 |
| 236 | 236 | */ |
| 237 | 237 | protected function getController() |
@@ -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\\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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -32,9 +32,9 @@ |
||
| 32 | 32 | * @param \Exception $previous The previous exception used for the exception chaining. |
| 33 | 33 | * @param array $list The associative list of errors and their messages when several errors occured |
| 34 | 34 | */ |
| 35 | - public function __construct( $msg = '', $code = 0, \Exception $previous = null, array $list = [] ) |
|
| 35 | + public function __construct($msg = '', $code = 0, \Exception $previous = null, array $list = []) |
|
| 36 | 36 | { |
| 37 | - parent::__construct( $msg, $code, $previous ); |
|
| 37 | + parent::__construct($msg, $code, $previous); |
|
| 38 | 38 | |
| 39 | 39 | $this->list = $list; |
| 40 | 40 | } |
@@ -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 | } |