Completed
Pull Request — master (#91)
by Simon
03:50
created
client/html/src/Client/Html/Catalog/Filter/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.
client/html/templates/checkout/standard/summary-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,11 @@
 block discarded – undo
87 87
 						$this->config( 'client/html/checkout/standard/summary/address', 'common/summary/address-standard' ),
88 88
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
89 89
 					); ?>
90
-				<?php else : ?>
91
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
90
+				<?php else {
91
+	: ?>
92
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
93
+}
94
+?>
92 95
 				<?php endif; ?>
93 96
 			</div>
94 97
 		</div>
Please login to merge, or discard this patch.
client/html/templates/checkout/confirm/order-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,11 @@
 block discarded – undo
58 58
 						$this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address-standard' ),
59 59
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
60 60
 					); ?>
61
-				<?php else : ?>
62
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
61
+				<?php else {
62
+	: ?>
63
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
64
+}
65
+?>
63 66
 				<?php endif; ?>
64 67
 			</div>
65 68
 		</div>
Please login to merge, or discard this patch.
client/html/templates/account/subscription/detail-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,11 @@
 block discarded – undo
68 68
 						$this->config( 'client/html/account/subscription/summary/address', 'common/summary/address-standard' ),
69 69
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
70 70
 					); ?>
71
-				<?php else : ?>
72
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
71
+				<?php else {
72
+	: ?>
73
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
74
+}
75
+?>
73 76
 				<?php endif; ?>
74 77
 			</div>
75 78
 		</div>
Please login to merge, or discard this patch.
client/html/templates/account/history/order-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,11 @@
 block discarded – undo
70 70
 						$this->config( 'client/html/account/history/summary/address', 'common/summary/address-standard' ),
71 71
 						array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' )
72 72
 					); ?>
73
-				<?php else : ?>
74
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
73
+				<?php else {
74
+	: ?>
75
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
76
+}
77
+?>
75 78
 				<?php endif; ?>
76 79
 			</div>
77 80
 		</div>
Please login to merge, or discard this patch.
client/html/templates/catalog/detail/image-partial-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@
 block discarded – undo
14 14
 
15 15
 $enc = $this->encoder();
16 16
 
17
-$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc )
18
-{
17
+$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) {
19 18
 	$string = '';
20 19
 
21 20
 	foreach( $mediaItem->getRefItems( 'attribute', null, 'variant' ) as $id => $item ) {
Please login to merge, or discard this patch.
client/html/templates/catalog/detail/body-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
  */
14 14
 
15 15
 
16
-$getProductList = function( array $posItems, array $items )
17
-{
16
+$getProductList = function( array $posItems, array $items ) {
18 17
 	$list = [];
19 18
 
20 19
 	foreach( $posItems as $id => $posItem )
Please login to merge, or discard this patch.
client/html/templates/catalog/detail/image-partial-bottom.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,7 @@
 block discarded – undo
14 14
 
15 15
 $enc = $this->encoder();
16 16
 
17
-$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc )
18
-{
17
+$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) {
19 18
 	$string = '';
20 19
 
21 20
 	foreach( $mediaItem->getRefItems( 'attribute', null, 'variant' ) as $id => $item ) {
Please login to merge, or discard this patch.
client/html/templates/account/subscription/lists-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,11 @@
 block discarded – undo
122 122
 									<span class="value col-sm-6">
123 123
 										<?php if( isset( $intervals[$item->getInterval()] ) ) : ?>
124 124
 											<?= $enc->html( $intervals[$item->getInterval()]->getName(), $enc::TRUST ); ?>
125
-										<?php else : ?>
126
-											<?= $enc->html( $item->getInterval(), $enc::TRUST ); ?>
125
+										<?php else {
126
+	: ?>
127
+											<?= $enc->html( $item->getInterval(), $enc::TRUST );
128
+}
129
+?>
127 130
 										<?php endif; ?>
128 131
 									</span>
129 132
 								</div>
Please login to merge, or discard this patch.