Completed
Branch master (4f99e3)
by Aimeos
02:41
created
client/html/src/Client/Html/Catalog/Detail/Seen/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,8 +203,7 @@
 block discarded – undo
203 203
 				$html = $lastSeen[$id];
204 204
 				unset( $lastSeen[$id] );
205 205
 				$lastSeen[$id] = $html;
206
-			}
207
-			else
206
+			} else
208 207
 			{
209 208
 				/** client/html/catalog/session/seen/standard/maxitems
210 209
 				 * Maximum number of products displayed in the "last seen" section
Please login to merge, or discard this patch.
client/html/templates/catalog/stock/body-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
 				$textStock[$level],
96 96
 				date_create( $date )->format( $dateFormat )
97 97
 			);
98
-		}
99
-		else
98
+		} else
100 99
 		{
101 100
 			$text = sprintf( $textStockIn,
102 101
 				$typeText[$stockType],
Please login to merge, or discard this patch.
client/html/templates/email/common/text-summary-body-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 			$this->config( 'client/html/email/common/summary/address/text', 'common/summary/address-standard' ),
49 49
 			array( 'address' => $addresses['delivery'], 'type' => 'delivery', 'separator' => "\n" )
50 50
 		);
51
-	}
52
-	else
51
+	} else
53 52
 	{
54 53
 		echo $this->translate( 'client', 'like billing address' );
55 54
 	}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Basket/Standard/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -407,8 +407,7 @@
 block discarded – undo
407 407
 			$controller = $view->config( 'client/html/catalog/detail/url/controller', 'catalog' );
408 408
 			$action = $view->config( 'client/html/catalog/detail/url/action', 'detail' );
409 409
 			$config = $view->config( 'client/html/catalog/detail/url/config', [] );
410
-		}
411
-		else
410
+		} else
412 411
 		{
413 412
 			$params = $context->getSession()->get( 'aimeos/catalog/lists/params/last/' . $site, [] );
414 413
 
Please login to merge, or discard this patch.
client/html/src/Client/Html/Basket/Mini/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,8 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
 			$html = $view->render( $view->config( $tplconf, $default ) );
148 148
 			$this->setBasketCached( $key, $html );
149
-		}
150
-		else
149
+		} else
151 150
 		{
152 151
 			$html = $this->modifyBody( $html, $uid );
153 152
 		}
@@ -216,8 +215,7 @@  discard block
 block discarded – undo
216 215
 			{
217 216
 				$this->logException( $e );
218 217
 			}
219
-		}
220
-		else
218
+		} else
221 219
 		{
222 220
 			$html = $this->modifyHeader( $html, $uid );
223 221
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Basket/Related/Bought/Standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -296,10 +296,10 @@
 block discarded – undo
296 296
 
297 297
 		foreach( $basket->getProducts() as $orderProduct )
298 298
 		{
299
-			$list[ $orderProduct->getProductId() ] = true;
299
+			$list[$orderProduct->getProductId()] = true;
300 300
 
301 301
 			foreach( $orderProduct->getProducts() as $subProduct ) {
302
-				$list[ $subProduct->getProductId() ] = true;
302
+				$list[$subProduct->getProductId()] = true;
303 303
 			}
304 304
 		}
305 305
 
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Detail/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/src/Client/Html/Catalog/Stock/Standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -298,8 +298,8 @@
 block discarded – undo
298 298
 		$stockItemsByProducts = [];
299 299
 		$productCodes = (array) $view->param( 's_prodcode', [] );
300 300
 
301
-		foreach( $this->getStockItems( $productCodes ) as $stockItem ){
302
-			$stockItemsByProducts[ $stockItem->getProductCode() ][] = $stockItem;
301
+		foreach( $this->getStockItems( $productCodes ) as $stockItem ) {
302
+			$stockItemsByProducts[$stockItem->getProductCode()][] = $stockItem;
303 303
 		}
304 304
 
305 305
 		$view->stockItemsByProducts = $stockItemsByProducts;
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Lists/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@
 block discarded – undo
609 609
 			->oneOf( $view->param( 'f_oneid', [] ) )
610 610
 			->category( $catids, 'default', $level )
611 611
 			->text( $view->param( 'f_search' ) )
612
-			->slice( ($page - 1) * $size, $size )->sort( $sort )
612
+			->slice( ( $page - 1 ) * $size, $size )->sort( $sort )
613 613
 			->search( $domains, $total );
614 614
 
615 615
 		if( $catids !== [] )
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,8 +205,7 @@  discard block
 block discarded – undo
205 205
 			}
206 206
 
207 207
 			$html = $view->render( $this->getTemplatePath( $tplconf, $default ) );
208
-		}
209
-		else
208
+		} else
210 209
 		{
211 210
 			$html = $this->modifyBody( $html, $uid );
212 211
 		}
@@ -290,8 +289,7 @@  discard block
 block discarded – undo
290 289
 			{
291 290
 				$this->logException( $e );
292 291
 			}
293
-		}
294
-		else
292
+		} else
295 293
 		{
296 294
 			$html = $this->modifyHeader( $html, $uid );
297 295
 		}
Please login to merge, or discard this patch.