Passed
Push — master ( 099ac9...4174e1 )
by Anthony
01:48
created
Controller/AccessRightsController.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
 use Symfony\Component\HttpFoundation\Response;
10 10
 use Symfony\Component\Routing\Annotation\Route;
11 11
 
12
-class AccessRightsController extends Controller
13
-{
12
+class AccessRightsController extends Controller {
14 13
 	//---------------------------------------------- VIEWS METHODS ---------------------------------------------------------//
15 14
 	/**
16 15
 	 * @Route("/access-rights-management/", name="ribsadmin_access_rights")
@@ -40,7 +39,8 @@  discard block
 block discarded – undo
40 39
 
41 40
 		if ($guid === null) {
42 41
 			$access_right = new AccessRight();
43
-		} else {
42
+		}
43
+		else {
44 44
 			$access_right = $em->getRepository("RibsAdminBundle:AccessRight")->findOneBy(["guid" => $guid]);
45 45
 			$list_rights_user = explode(",", $access_right->getAccessRights());
46 46
 		}
Please login to merge, or discard this patch.