Passed
Pull Request — master (#198)
by
unknown
09:12 queued 04:22
created
src/Client/Html/Checkout/Confirm/Standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
 		if( $context->session()->get( 'aimeos/basket/list' ) !== null && ( $orderid = $session->get( 'aimeos/orderid' ) ) === null ) {
73 73
 			throw new \Aimeos\Client\Html\Exception( 'No order ID available' );
74
-		} else if ($orderid !== null) {
74
+		} else if( $orderid !== null ) {
75 75
 
76 76
 			$ref = $config->get( 'mshop/order/manager/subdomains', [] );
77 77
 			$ref = $config->get( 'client/html/checkout/confirm/domains', $ref );
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
 		if( $context->session()->get( 'aimeos/basket/list' ) !== null && ( $id = $context->session()->get( 'aimeos/orderid' ) ) === null ) {
122 122
 			throw new \Aimeos\Client\Html\Exception( $context->translate( 'client', 'No order ID available in session' ) );
123
-		} else if ($id !== null) {
123
+		} else if( $id !== null ) {
124 124
 
125 125
 			/** client/html/checkout/confirm/domains
126 126
 			 * List of domains to fetch items related to the order
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 		    $view->noOrder = true;
148 148
         	}
149 149
 
150
-        	return parent::data($view, $tags, $expire);
150
+        	return parent::data( $view, $tags, $expire );
151 151
 	}
152 152
 
153 153
 
Please login to merge, or discard this patch.
templates/client/html/checkout/confirm/body.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 
8 8
 $enc = $this->encoder();
9 9
 
10
-if (isset($this->noOrder)): ?>
10
+if( isset( $this->noOrder ) ): ?>
11 11
 <section class="aimeos checkout-confirm">
12 12
     <div class="container-xxl">
13 13
         <div class="checkout-confirm-intro">
14
-            <p class="note text-center"><?= $enc->html($this->translate('client','There is no order nor basket present!'))?></p>
14
+            <p class="note text-center"><?= $enc->html( $this->translate( 'client', 'There is no order nor basket present!' ) )?></p>
15 15
         </div>
16 16
     </div>
17 17
 </section>
Please login to merge, or discard this patch.