Passed
Push — master ( 099ac9...4174e1 )
by Anthony
01:48
created
Controller/AccessRightsController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 		
55 55
 		return $this->render("@RibsAdmin/access-rights/edit-list.html.twig", [
56 56
 			"access_right" => $access_right,
57
-            "form" => $form->createView(),
57
+												"form" => $form->createView(),
58 58
 			"list_rights_user" => $list_rights_user,
59 59
 			"ribs_admin_rights" => json_decode(file_get_contents($this->get("ribs_admin.globals")->getBaseBundlePath() . "/Resources/json/ribsadmin_rights.json"))
60 60
 		]);
Please login to merge, or discard this 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.