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