Completed
Push — master ( 0229de...f71bfb )
by Aimeos
04:41
created
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Servicedelivery/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Servicedelivery;
12 12
 
13
-sprintf( 'servicedelivery' ); // for translation
13
+sprintf('servicedelivery'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->orderpaymenttypeBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->orderpaymenttypeBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-servicedelivery' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-servicedelivery' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-servicedelivery' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-servicedelivery' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/servicedelivery/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/servicedelivery/template-item';
89 89
 		$default = 'dashboard/item-order-servicedelivery-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/servicedelivery/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/servicedelivery/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/servicedelivery/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/servicedelivery/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/servicedelivery/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/servicedelivery/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/servicedelivery/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Counthour/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Counthour;
12 12
 
13
-sprintf( 'counthour' ); // for translation
13
+sprintf('counthour'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->orderpaymenttypeBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->orderpaymenttypeBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-counthour' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-counthour' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-counthour' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-counthour' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/counthour/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/counthour/template-item';
89 89
 		$default = 'dashboard/item-order-counthour-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/counthour/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/counthour/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/counthour/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/counthour/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/counthour/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/counthour/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/counthour/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Salesmonth/Standard.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -47,21 +47,21 @@  discard block
 block discarded – undo
47 47
 		{
48 48
 			$view->ordersalesmonthBody = '';
49 49
 
50
-			foreach( $this->getSubClients() as $client ) {
50
+			foreach ($this->getSubClients() as $client) {
51 51
 				$view->ordersalesmonthBody .= $client->search();
52 52
 			}
53 53
 		}
54
-		catch( \Aimeos\MShop\Exception $e )
54
+		catch (\Aimeos\MShop\Exception $e)
55 55
 		{
56
-			$error = array( 'order-salesmonth' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
57
-			$view->errors = $view->get( 'errors', [] ) + $error;
58
-			$this->logException( $e );
56
+			$error = array('order-salesmonth' => $context->getI18n()->dt('mshop', $e->getMessage()));
57
+			$view->errors = $view->get('errors', []) + $error;
58
+			$this->logException($e);
59 59
 		}
60
-		catch( \Exception $e )
60
+		catch (\Exception $e)
61 61
 		{
62
-			$error = array( 'order-salesmonth' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
63
-			$view->errors = $view->get( 'errors', [] ) + $error;
64
-			$this->logException( $e );
62
+			$error = array('order-salesmonth' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
63
+			$view->errors = $view->get('errors', []) + $error;
64
+			$this->logException($e);
65 65
 		}
66 66
 
67 67
 		/** admin/jqadm/dashboard/order/salesmonth/template-item
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 		$tplconf = 'admin/jqadm/dashboard/order/salesmonth/template-item';
87 87
 		$default = 'dashboard/item-order-salesmonth-standard';
88 88
 
89
-		return $view->render( $view->config( $tplconf, $default ) );
89
+		return $view->render($view->config($tplconf, $default));
90 90
 	}
91 91
 
92 92
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 * @param string|null $name Name of the sub-client (Default if null)
98 98
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
99 99
 	 */
100
-	public function getSubClient( $type, $name = null )
100
+	public function getSubClient($type, $name = null)
101 101
 	{
102 102
 		/** admin/jqadm/dashboard/order/salesmonth/decorators/excludes
103 103
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 		 * @see admin/jqadm/dashboard/order/salesmonth/decorators/excludes
173 173
 		 * @see admin/jqadm/dashboard/order/salesmonth/decorators/global
174 174
 		 */
175
-		return $this->createSubClient( 'dashboard/order/salesmonth/' . $type, $name );
175
+		return $this->createSubClient('dashboard/order/salesmonth/' . $type, $name);
176 176
 	}
177 177
 
178 178
 
@@ -216,6 +216,6 @@  discard block
 block discarded – undo
216 216
 		 * @since 2018.01
217 217
 		 * @category Developer
218 218
 		 */
219
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/salesmonth/standard/subparts', [] );
219
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/salesmonth/standard/subparts', []);
220 220
 	}
221 221
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Countday/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Countday;
12 12
 
13
-sprintf( 'countday' ); // for translation
13
+sprintf('countday'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->orderpaymenttypeBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->orderpaymenttypeBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-countday' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-countday' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-countday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-countday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/countday/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/countday/template-item';
89 89
 		$default = 'dashboard/item-order-countday-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/countday/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/countday/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/countday/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/countday/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/countday/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/countday/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/countday/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Servicepayment/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Servicepayment;
12 12
 
13
-sprintf( 'servicepayment' ); // for translation
13
+sprintf('servicepayment'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->orderservicepaymentBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->orderservicepaymentBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-servicepayment' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-servicepayment' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-servicepayment' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-servicepayment' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/servicepayment/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/servicepayment/template-item';
89 89
 		$default = 'dashboard/item-order-servicepayment-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/servicepayment/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/servicepayment/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/servicepayment/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/servicepayment/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/servicepayment/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/servicepayment/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/servicepayment/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Countpaystatus/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Countpaystatus;
12 12
 
13
-sprintf( 'countpaystatus' ); // for translation
13
+sprintf('countpaystatus'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->ordercountpaystatusBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->ordercountpaystatusBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-countpaystatus' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-countpaystatus' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-countpaystatus' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-countpaystatus' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/countpaystatus/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/countpaystatus/template-item';
89 89
 		$default = 'dashboard/item-order-countpaystatus-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/countpaystatus/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/countpaystatus/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/countpaystatus/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/countpaystatus/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/countpaystatus/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/countpaystatus/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/countpaystatus/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Salesday/Standard.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -47,21 +47,21 @@  discard block
 block discarded – undo
47 47
 		{
48 48
 			$view->ordersalesdayBody = '';
49 49
 
50
-			foreach( $this->getSubClients() as $client ) {
50
+			foreach ($this->getSubClients() as $client) {
51 51
 				$view->ordersalesdayBody .= $client->search();
52 52
 			}
53 53
 		}
54
-		catch( \Aimeos\MShop\Exception $e )
54
+		catch (\Aimeos\MShop\Exception $e)
55 55
 		{
56
-			$error = array( 'order-salesday' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
57
-			$view->errors = $view->get( 'errors', [] ) + $error;
58
-			$this->logException( $e );
56
+			$error = array('order-salesday' => $context->getI18n()->dt('mshop', $e->getMessage()));
57
+			$view->errors = $view->get('errors', []) + $error;
58
+			$this->logException($e);
59 59
 		}
60
-		catch( \Exception $e )
60
+		catch (\Exception $e)
61 61
 		{
62
-			$error = array( 'order-salesday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
63
-			$view->errors = $view->get( 'errors', [] ) + $error;
64
-			$this->logException( $e );
62
+			$error = array('order-salesday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
63
+			$view->errors = $view->get('errors', []) + $error;
64
+			$this->logException($e);
65 65
 		}
66 66
 
67 67
 		/** admin/jqadm/dashboard/order/salesday/template-item
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 		$tplconf = 'admin/jqadm/dashboard/order/salesday/template-item';
87 87
 		$default = 'dashboard/item-order-salesday-standard';
88 88
 
89
-		return $view->render( $view->config( $tplconf, $default ) );
89
+		return $view->render($view->config($tplconf, $default));
90 90
 	}
91 91
 
92 92
 
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 * @param string|null $name Name of the sub-client (Default if null)
98 98
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
99 99
 	 */
100
-	public function getSubClient( $type, $name = null )
100
+	public function getSubClient($type, $name = null)
101 101
 	{
102 102
 		/** admin/jqadm/dashboard/order/salesday/decorators/excludes
103 103
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 		 * @see admin/jqadm/dashboard/order/salesday/decorators/excludes
173 173
 		 * @see admin/jqadm/dashboard/order/salesday/decorators/global
174 174
 		 */
175
-		return $this->createSubClient( 'dashboard/order/salesday/' . $type, $name );
175
+		return $this->createSubClient('dashboard/order/salesday/' . $type, $name);
176 176
 	}
177 177
 
178 178
 
@@ -216,6 +216,6 @@  discard block
 block discarded – undo
216 216
 		 * @since 2018.01
217 217
 		 * @category Developer
218 218
 		 */
219
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/salesday/standard/subparts', [] );
219
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/salesday/standard/subparts', []);
220 220
 	}
221 221
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Order/Salesweekday/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard\Order\Salesweekday;
12 12
 
13
-sprintf( 'salesweekday' ); // for translation
13
+sprintf('salesweekday'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->orderpaymenttypeBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->orderpaymenttypeBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'order-salesweekday' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('order-salesweekday' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'order-salesweekday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('order-salesweekday' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/order/salesweekday/template-item
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/order/salesweekday/template-item';
89 89
 		$default = 'dashboard/item-order-salesweekday-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/order/salesweekday/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/order/salesweekday/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/order/salesweekday/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/order/salesweekday/' . $type, $name );
177
+		return $this->createSubClient('dashboard/order/salesweekday/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2018.01
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/order/salesweekday/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/order/salesweekday/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Dashboard/Standard.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 namespace Aimeos\Admin\JQAdm\Dashboard;
12 12
 
13
-sprintf( 'dashboard' ); // for translation
13
+sprintf('dashboard'); // for translation
14 14
 
15 15
 
16 16
 /**
@@ -49,21 +49,21 @@  discard block
 block discarded – undo
49 49
 		{
50 50
 			$view->listBody = '';
51 51
 
52
-			foreach( $this->getSubClients() as $client ) {
52
+			foreach ($this->getSubClients() as $client) {
53 53
 				$view->listBody .= $client->search();
54 54
 			}
55 55
 		}
56
-		catch( \Aimeos\MShop\Exception $e )
56
+		catch (\Aimeos\MShop\Exception $e)
57 57
 		{
58
-			$error = array( 'dashboard' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
59
-			$view->errors = $view->get( 'errors', [] ) + $error;
60
-			$this->logException( $e );
58
+			$error = array('dashboard' => $context->getI18n()->dt('mshop', $e->getMessage()));
59
+			$view->errors = $view->get('errors', []) + $error;
60
+			$this->logException($e);
61 61
 		}
62
-		catch( \Exception $e )
62
+		catch (\Exception $e)
63 63
 		{
64
-			$error = array( 'dashboard' => $e->getMessage() );
65
-			$view->errors = $view->get( 'errors', [] ) + $error;
66
-			$this->logException( $e );
64
+			$error = array('dashboard' => $e->getMessage());
65
+			$view->errors = $view->get('errors', []) + $error;
66
+			$this->logException($e);
67 67
 		}
68 68
 
69 69
 		/** admin/jqadm/dashboard/template-list
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		$tplconf = 'admin/jqadm/dashboard/template-list';
89 89
 		$default = 'dashboard/list-standard';
90 90
 
91
-		return $view->render( $view->config( $tplconf, $default ) );
91
+		return $view->render($view->config($tplconf, $default));
92 92
 	}
93 93
 
94 94
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 * @param string|null $name Name of the sub-client (Default if null)
100 100
 	 * @return \Aimeos\Admin\JQAdm\Iface Sub-client object
101 101
 	 */
102
-	public function getSubClient( $type, $name = null )
102
+	public function getSubClient($type, $name = null)
103 103
 	{
104 104
 		/** admin/jqadm/dashboard/decorators/excludes
105 105
 		 * Excludes decorators added by the "common" option from the dashboard JQAdm client
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 		 * @see admin/jqadm/dashboard/decorators/excludes
175 175
 		 * @see admin/jqadm/dashboard/decorators/global
176 176
 		 */
177
-		return $this->createSubClient( 'dashboard/' . $type, $name );
177
+		return $this->createSubClient('dashboard/' . $type, $name);
178 178
 	}
179 179
 
180 180
 
@@ -218,6 +218,6 @@  discard block
 block discarded – undo
218 218
 		 * @since 2016.07
219 219
 		 * @category Developer
220 220
 		 */
221
-		return $this->getContext()->getConfig()->get( 'admin/jqadm/dashboard/standard/subparts', [] );
221
+		return $this->getContext()->getConfig()->get('admin/jqadm/dashboard/standard/subparts', []);
222 222
 	}
223 223
 }
Please login to merge, or discard this patch.