Passed
Push — master ( c04a21...0a9179 )
by Aimeos
05:29
created
src/Controller/GraphqlController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	public function indexAction( ServerRequestInterface $request )
33 33
 	{
34 34
 		if( config( 'shop.authorize', true ) ) {
35
-			$this->authorize( 'admin', [GraphqlController::class, array_merge( config( 'shop.roles', ['admin', 'editor'] ), ['api'])] );
35
+			$this->authorize( 'admin', [GraphqlController::class, array_merge( config( 'shop.roles', ['admin', 'editor'] ), ['api'] )] );
36 36
 		}
37 37
 
38 38
 		$site = Route::input( 'site', Request::get( 'site', config( 'shop.mshop.locale.site', 'default' ) ) );
Please login to merge, or discard this patch.