Passed
Push — master ( be26c9...87f8af )
by Luiz Kim
02:08
created
src/Service/PeopleRoleService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,10 +168,11 @@
 block discarded – undo
168 168
     $domain  = $_SERVER['HTTP_HOST'];
169 169
     $company = $this->manager->getRepository(PeopleDomain::class)->findOneBy(['domain' => $domain]);
170 170
 
171
-    if ($company === null)
172
-      throw new \Exception(
171
+    if ($company === null) {
172
+          throw new \Exception(
173 173
         sprintf('Main company "%s" not found', $domain)
174 174
       );
175
+    }
175 176
 
176 177
     return $company->getPeople();
177 178
   }
Please login to merge, or discard this patch.