Completed
Push — master ( 77b29b...4f8168 )
by Aimeos
02:41
created
controller/frontend/src/Controller/Frontend/Service/Decorator/Base.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
 	 * @param array $ref List of domains for which the items referenced by the services should be fetched too
28 28
 	 * @return array List of service items implementing \Aimeos\MShop\Service\Item\Iface with referenced items
29 29
 	 */
30
-	public function getServices( $type, \Aimeos\MShop\Order\Item\Base\Iface $basket,
31
-		$ref = array( 'media', 'price', 'text' ) )
30
+	public function getServices($type, \Aimeos\MShop\Order\Item\Base\Iface $basket,
31
+		$ref = array('media', 'price', 'text'))
32 32
 	{
33
-		return $this->getController()->getServices( $type, $basket, $ref );
33
+		return $this->getController()->getServices($type, $basket, $ref);
34 34
 	}
35 35
 
36 36
 
@@ -43,9 +43,9 @@  discard block
 block discarded – undo
43 43
 	 * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object
44 44
 	 * @return array List of attribute definitions implementing \Aimeos\MW\Criteria\Attribute\Iface
45 45
 	 */
46
-	public function getServiceAttributes( $type, $serviceId, \Aimeos\MShop\Order\Item\Base\Iface $basket )
46
+	public function getServiceAttributes($type, $serviceId, \Aimeos\MShop\Order\Item\Base\Iface $basket)
47 47
 	{
48
-		return $this->getController()->getServiceAttributes( $type, $serviceId, $basket );
48
+		return $this->getController()->getServiceAttributes($type, $serviceId, $basket);
49 49
 	}
50 50
 
51 51
 
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
 	 * @throws \Aimeos\MShop\Exception If service provider isn't available
61 61
 	 * @throws \Exception If an error occurs
62 62
 	 */
63
-	public function getServicePrice( $type, $serviceId, \Aimeos\MShop\Order\Item\Base\Iface $basket )
63
+	public function getServicePrice($type, $serviceId, \Aimeos\MShop\Order\Item\Base\Iface $basket)
64 64
 	{
65
-		return $this->getController()->getServicePrice( $type, $serviceId, $basket );
65
+		return $this->getController()->getServicePrice($type, $serviceId, $basket);
66 66
 	}
67 67
 
68 68
 
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
 	 * @return array List of key/value pairs of attributes keys and an error message for values that are invalid or
77 77
 	 * 	missing
78 78
 	 */
79
-	public function checkServiceAttributes( $type, $serviceId, array $attributes )
79
+	public function checkServiceAttributes($type, $serviceId, array $attributes)
80 80
 	{
81
-		return $this->getController()->checkServiceAttributes( $type, $serviceId, $attributes );
81
+		return $this->getController()->checkServiceAttributes($type, $serviceId, $attributes);
82 82
 	}
83 83
 }
Please login to merge, or discard this patch.
controller/frontend/src/Controller/Frontend/Order/Decorator/Base.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
 	 * @param \Aimeos\MShop\Order\Item\Base\Iface $basket Basket object to be stored
30 30
 	 * @return \Aimeos\MShop\Order\Item\Iface Order item that belongs to the stored basket
31 31
 	 */
32
-	public function store( \Aimeos\MShop\Order\Item\Base\Iface $basket )
32
+	public function store(\Aimeos\MShop\Order\Item\Base\Iface $basket)
33 33
 	{
34
-		return $this->getController()->store( $basket );
34
+		return $this->getController()->store($basket);
35 35
 	}
36 36
 
37 37
 
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
55 55
 	 * @return void
56 56
 	 */
57
-	public function block( \Aimeos\MShop\Order\Item\Iface $orderItem )
57
+	public function block(\Aimeos\MShop\Order\Item\Iface $orderItem)
58 58
 	{
59
-		$this->getController()->block( $orderItem );
59
+		$this->getController()->block($orderItem);
60 60
 	}
61 61
 
62 62
 
@@ -79,9 +79,9 @@  discard block
 block discarded – undo
79 79
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
80 80
 	 * @return void
81 81
 	 */
82
-	public function unblock( \Aimeos\MShop\Order\Item\Iface $orderItem )
82
+	public function unblock(\Aimeos\MShop\Order\Item\Iface $orderItem)
83 83
 	{
84
-		$this->getController()->unblock( $orderItem );
84
+		$this->getController()->unblock($orderItem);
85 85
 	}
86 86
 
87 87
 
@@ -100,8 +100,8 @@  discard block
 block discarded – undo
100 100
 	 * @param \Aimeos\MShop\Order\Item\Iface $orderItem Order item object
101 101
 	 * @return void
102 102
 	 */
103
-	public function update( \Aimeos\MShop\Order\Item\Iface $orderItem )
103
+	public function update(\Aimeos\MShop\Order\Item\Iface $orderItem)
104 104
 	{
105
-		$this->getController()->update( $orderItem );
105
+		$this->getController()->update($orderItem);
106 106
 	}
107 107
 }
Please login to merge, or discard this patch.