Passed
Push — master ( a6b03a...955296 )
by Aimeos
02:30
created
client/jsonapi/src/Client/JsonApi/Common/Factory/Base.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,7 @@
 block discarded – undo
99 99
 				$decorators = $config->get( 'client/jsonapi/' . $dpath . 'decorators/local', [] );
100 100
 				$client = self::addDecorators( $client, $decorators, $classprefix, $context, $path );
101 101
 			}
102
-		}
103
-		else
102
+		} else
104 103
 		{
105 104
 			$classprefix = '\\Aimeos\\Client\\JsonApi\\Common\\Decorator\\';
106 105
 			$client = self::addDecorators( $client, $decorators, $classprefix, $context, $path );
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
 			if( ( $client = @call_user_func_array( [$factory, 'create'], [$context, $path, $name] ) ) === false ) {
60 60
 				throw new \Aimeos\Client\JsonApi\Exception( sprintf( 'Invalid factory "%1$s"', $factory ), 400 );
61 61
 			}
62
-		}
63
-		else
62
+		} else
64 63
 		{
65 64
 			$client = self::createRoot( $context, $path, $name );
66 65
 		}
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Subscription/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,7 @@
 block discarded – undo
83 83
 			{
84 84
 				$view->items = $cntl->get( $id );
85 85
 				$view->total = 1;
86
-			}
87
-			else
86
+			} else
88 87
 			{
89 88
 				$total = 0;
90 89
 				$items = $cntl->slice( $view->param( 'page/offset', 0), $view->param( 'page/limit', 25 ) )
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Order/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@
 block discarded – undo
43 43
 			{
44 44
 				$view->items = $cntl->getItem( $id );
45 45
 				$view->total = 1;
46
-			}
47
-			else
46
+			} else
48 47
 			{
49 48
 				$total = 0;
50 49
 				$filter = $cntl->createFilter();
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Product/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
 			 */
82 82
 			$tplconf = 'client/jsonapi/product/standard/template-aggregate';
83 83
 			$default = 'aggregate-standard';
84
-		}
85
-		else
84
+		} else
86 85
 		{
87 86
 			/** client/jsonapi/product/standard/template
88 87
 			 * Relative path to the product JSON API template
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Basket/Service/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 
79 79
 					$this->controller->deleteService( $entry->id );
80 80
 				}
81
-			}
82
-			else
81
+			} else
83 82
 			{
84 83
 				$this->controller->deleteService( $relId );
85 84
 			}
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Basket/Address/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 
79 79
 					$this->controller->setAddress( $entry->id, null );
80 80
 				}
81
-			}
82
-			else
81
+			} else
83 82
 			{
84 83
 				$this->controller->setAddress( $relId, null );
85 84
 			}
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Basket/Product/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 
79 79
 					$this->controller->deleteProduct( $entry->id );
80 80
 				}
81
-			}
82
-			else
81
+			} else
83 82
 			{
84 83
 				$this->controller->deleteProduct( $relId );
85 84
 			}
Please login to merge, or discard this patch.
client/jsonapi/src/Client/JsonApi/Basket/Coupon/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,7 @@
 block discarded – undo
78 78
 
79 79
 					$this->controller->deleteCoupon( $entry->id );
80 80
 				}
81
-			}
82
-			else
81
+			} else
83 82
 			{
84 83
 				$this->controller->deleteCoupon( $relId );
85 84
 			}
Please login to merge, or discard this patch.