Passed
Push — master ( 79d36f...9f41c4 )
by Aimeos
04:09
created
client/html/src/Client/Html/Account/Favorite/Standard.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -86,22 +86,22 @@  discard block
 block discarded – undo
86 86
 		catch( \Aimeos\Client\Html\Exception $e )
87 87
 		{
88 88
 			$error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) );
89
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
89
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
90 90
 		}
91 91
 		catch( \Aimeos\Controller\Frontend\Exception $e )
92 92
 		{
93 93
 			$error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) );
94
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
94
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
95 95
 		}
96 96
 		catch( \Aimeos\MShop\Exception $e )
97 97
 		{
98 98
 			$error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
99
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
99
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
100 100
 		}
101 101
 		catch( \Exception $e )
102 102
 		{
103 103
 			$error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) );
104
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
104
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
105 105
 			$this->logException( $e );
106 106
 		}
107 107
 
@@ -302,22 +302,22 @@  discard block
 block discarded – undo
302 302
 		catch( \Aimeos\MShop\Exception $e )
303 303
 		{
304 304
 			$error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
305
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
305
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
306 306
 		}
307 307
 		catch( \Aimeos\Controller\Frontend\Exception $e )
308 308
 		{
309 309
 			$error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) );
310
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
310
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
311 311
 		}
312 312
 		catch( \Aimeos\Client\Html\Exception $e )
313 313
 		{
314 314
 			$error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) );
315
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
315
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
316 316
 		}
317 317
 		catch( \Exception $e )
318 318
 		{
319 319
 			$error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) );
320
-			$view->favoriteErrorList = array_merge($view->get( 'favoriteErrorList', [] ), $error);
320
+			$view->favoriteErrorList = array_merge( $view->get( 'favoriteErrorList', [] ), $error );
321 321
 			$this->logException( $e );
322 322
 		}
323 323
 	}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Detail/Standard.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -170,22 +170,22 @@  discard block
 block discarded – undo
170 170
 			catch( \Aimeos\Client\Html\Exception $e )
171 171
 			{
172 172
 				$error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) );
173
-				$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
173
+				$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
174 174
 			}
175 175
 			catch( \Aimeos\Controller\Frontend\Exception $e )
176 176
 			{
177 177
 				$error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) );
178
-				$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
178
+				$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
179 179
 			}
180 180
 			catch( \Aimeos\MShop\Exception $e )
181 181
 			{
182 182
 				$error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
183
-				$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
183
+				$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
184 184
 			}
185 185
 			catch( \Exception $e )
186 186
 			{
187 187
 				$error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) );
188
-				$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
188
+				$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
189 189
 				$this->logException( $e );
190 190
 			}
191 191
 
@@ -394,22 +394,22 @@  discard block
 block discarded – undo
394 394
 		catch( \Aimeos\Client\Html\Exception $e )
395 395
 		{
396 396
 			$error = array( $context->getI18n()->dt( 'client', $e->getMessage() ) );
397
-			$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
397
+			$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
398 398
 		}
399 399
 		catch( \Aimeos\Controller\Frontend\Exception $e )
400 400
 		{
401 401
 			$error = array( $context->getI18n()->dt( 'controller/frontend', $e->getMessage() ) );
402
-			$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
402
+			$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
403 403
 		}
404 404
 		catch( \Aimeos\MShop\Exception $e )
405 405
 		{
406 406
 			$error = array( $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
407
-			$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
407
+			$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
408 408
 		}
409 409
 		catch( \Exception $e )
410 410
 		{
411 411
 			$error = array( $context->getI18n()->dt( 'client', 'A non-recoverable error occured' ) );
412
-			$view->detailErrorList = array_merge($view->get( 'detailErrorList', [] ), $error);
412
+			$view->detailErrorList = array_merge( $view->get( 'detailErrorList', [] ), $error );
413 413
 			$this->logException( $e );
414 414
 		}
415 415
 	}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Checkout/Standard/Delivery/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
 					catch( \Aimeos\Controller\Frontend\Basket\Exception $e )
249 249
 					{
250 250
 						$view->deliveryError = $e->getErrors();
251
-						$view->standardErrorList = array_merge($view->get( 'standardErrorList', [] ), $e->getErrors());
251
+						$view->standardErrorList = array_merge( $view->get( 'standardErrorList', [] ), $e->getErrors() );
252 252
 
253 253
 						throw $e;
254 254
 					}
Please login to merge, or discard this patch.