Completed
Push — master ( 1b879b...45b214 )
by Aimeos
02:38
created
controller/frontend/src/Controller/Frontend/Basket/Standard.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -311,17 +311,14 @@
 block discarded – undo
311 311
 		{
312 312
 			$address->copyFrom( $value );
313 313
 			$this->get()->setAddress( $address, $type );
314
-		}
315
-		else if( is_array( $value ) )
314
+		} else if( is_array( $value ) )
316 315
 		{
317 316
 			$this->setAddressFromArray( $address, $value );
318 317
 			$this->get()->setAddress( $address, $type );
319
-		}
320
-		else if( $value === null )
318
+		} else if( $value === null )
321 319
 		{
322 320
 			$this->get()->deleteAddress( $type );
323
-		}
324
-		else
321
+		} else
325 322
 		{
326 323
 			throw new \Aimeos\Controller\Frontend\Basket\Exception( sprintf( 'Invalid value for address type "%1$s"', $type ) );
327 324
 		}
Please login to merge, or discard this patch.