Passed
Push — master ( adcb3e...b4786a )
by Aimeos
02:24
created
src/Admin/JsonAdm/Locale/Site/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -177,8 +177,7 @@  discard block
 block discarded – undo
177 177
 			$search->add( $search->is( 'locale.site.id', '==', $id ) )->slice( 0, 1 );
178 178
 			$view->data = $manager->search( $search, [], $total )
179 179
 				->first( new \Aimeos\MShop\Exception( $view->translate( 'admin', 'Item not available' ) ) );
180
-		}
181
-		else
180
+		} else
182 181
 		{
183 182
 			$view->data = $manager->search( $search, [], $total );
184 183
 		}
@@ -214,8 +213,7 @@  discard block
 block discarded – undo
214 213
 			}
215 214
 
216 215
 			$item = $manager->save( $item );
217
-		}
218
-		else
216
+		} else
219 217
 		{
220 218
 			if( !$this->view()->access( ['super'] ) ) {
221 219
 				throw new \Aimeos\Admin\JsonAdm\Exception( 'Not allowed' );
Please login to merge, or discard this patch.