Passed
Push — master ( 75dc22...ad651f )
by Luiz Kim
09:59 queued 07:29
created
src/Service/FileService.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,12 +19,13 @@
 block discarded – undo
19 19
 
20 20
   public function getFileUrl(People $people): ?array
21 21
   {
22
-    if ($people->getImage() instanceof File)
23
-      return [
22
+    if ($people->getImage() instanceof File) {
23
+          return [
24 24
         'id'     => $people->getImage()->getId(),
25 25
         'domain' => $this->domainService->getMainDomain(),
26 26
         'url'    => '/files/' . $people->getImage()->getId() . '/download'
27 27
       ];
28
+    }
28 29
 
29 30
     return null;
30 31
   }
Please login to merge, or discard this patch.