Completed
Push — master ( 39728a...38c658 )
by Aimeos
01:38
created
admin/jsonadm/templates/partials/data-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,12 +89,10 @@
 block discarded – undo
89 89
 	foreach( $data as $item ) {
90 90
 		$response[] = $build( $item, $childItems, $listItems );
91 91
 	}
92
-}
93
-elseif( $data !== null )
92
+} elseif( $data !== null )
94 93
 {
95 94
 	$response = $build( $data, $childItems, $listItems );
96
-}
97
-else
95
+} else
98 96
 {
99 97
 	$response = null;
100 98
 }
Please login to merge, or discard this patch.
admin/jsonadm/templates/partials/order/data-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,12 +79,10 @@
 block discarded – undo
79 79
 	foreach( $data as $item ) {
80 80
 		$response[] = $build( $item, $childItems );
81 81
 	}
82
-}
83
-elseif( $data !== null )
82
+} elseif( $data !== null )
84 83
 {
85 84
 	$response = $build( $data, $childItems );
86
-}
87
-else
85
+} else
88 86
 {
89 87
 	$response = null;
90 88
 }
Please login to merge, or discard this patch.
admin/jsonadm/templates/partials/catalog/data-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,12 +85,10 @@
 block discarded – undo
85 85
 	foreach( $data as $item ) {
86 86
 		$response[] = $build( $item, $listItems );
87 87
 	}
88
-}
89
-elseif( $data !== null )
88
+} elseif( $data !== null )
90 89
 {
91 90
 	$response = $build( $data, $listItems );
92
-}
93
-else
91
+} else
94 92
 {
95 93
 	$response = null;
96 94
 }
Please login to merge, or discard this patch.
admin/jsonadm/templates/partials/locale/site/data-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,12 +66,10 @@
 block discarded – undo
66 66
 	foreach( $data as $item ) {
67 67
 		$response[] = $build( $item );
68 68
 	}
69
-}
70
-elseif( $data !== null )
69
+} elseif( $data !== null )
71 70
 {
72 71
 	$response = $build( $data );
73
-}
74
-else
72
+} else
75 73
 {
76 74
 	$response = null;
77 75
 }
Please login to merge, or discard this patch.
admin/jsonadm/templates/partials/order/base/data-standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,12 +79,10 @@
 block discarded – undo
79 79
 	foreach( $data as $item ) {
80 80
 		$response[] = $build( $item, $childItems );
81 81
 	}
82
-}
83
-elseif( $data !== null )
82
+} elseif( $data !== null )
84 83
 {
85 84
 	$response = $build( $data, $childItems );
86
-}
87
-else
85
+} else
88 86
 {
89 87
 	$response = null;
90 88
 }
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Coupon/Config/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,16 +118,14 @@
 block discarded – undo
118 118
 		{
119 119
 			$response = $this->getItems( $view, $request, $response );
120 120
 			$status = 200;
121
-		}
122
-		catch( \Aimeos\MShop\Exception $e )
121
+		} catch( \Aimeos\MShop\Exception $e )
123 122
 		{
124 123
 			$status = 404;
125 124
 			$view->errors = array( array(
126 125
 				'title' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ),
127 126
 				'detail' => $e->getTraceAsString(),
128 127
 			) );
129
-		}
130
-		catch( \Exception $e )
128
+		} catch( \Exception $e )
131 129
 		{
132 130
 			$status = 500;
133 131
 			$view->errors = array( array(
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Service/Config/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,16 +118,14 @@
 block discarded – undo
118 118
 		{
119 119
 			$response = $this->getItems( $view, $request, $response );
120 120
 			$status = 200;
121
-		}
122
-		catch( \Aimeos\MShop\Exception $e )
121
+		} catch( \Aimeos\MShop\Exception $e )
123 122
 		{
124 123
 			$status = 404;
125 124
 			$view->errors = array( array(
126 125
 				'title' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ),
127 126
 				'detail' => $e->getTraceAsString(),
128 127
 			) );
129
-		}
130
-		catch( \Exception $e )
128
+		} catch( \Exception $e )
131 129
 		{
132 130
 			$status = 500;
133 131
 			$view->errors = array( array(
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Plugin/Config/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,16 +118,14 @@
 block discarded – undo
118 118
 		{
119 119
 			$response = $this->getItems( $view, $request, $response );
120 120
 			$status = 200;
121
-		}
122
-		catch( \Aimeos\MShop\Exception $e )
121
+		} catch( \Aimeos\MShop\Exception $e )
123 122
 		{
124 123
 			$status = 404;
125 124
 			$view->errors = array( array(
126 125
 				'title' => $this->getContext()->getI18n()->dt( 'mshop', $e->getMessage() ),
127 126
 				'detail' => $e->getTraceAsString(),
128 127
 			) );
129
-		}
130
-		catch( \Exception $e )
128
+		} catch( \Exception $e )
131 129
 		{
132 130
 			$status = 500;
133 131
 			$view->errors = array( array(
Please login to merge, or discard this patch.
admin/jsonadm/src/Admin/JsonAdm/Iface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,6 @@
 block discarded – undo
77 77
 	 *
78 78
 	 * @param \Psr\Http\Message\ServerRequestInterface $request Request object
79 79
 	 * @param \Psr\Http\Message\ResponseInterface $response Response object
80
-	 * @param string|null $prefix Form parameter prefix when nesting parameters is required
81 80
 	 * @return \Psr\Http\Message\ResponseInterface Modified response object
82 81
 	 */
83 82
 	public function options( ServerRequestInterface $request, ResponseInterface $response );
Please login to merge, or discard this patch.