Passed
Push — master ( 12fa9f...b242e0 )
by Luiz Kim
04:08 queued 01:55
created
src/Controller/GetMyCompaniesAction.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -260,12 +260,13 @@
 block discarded – undo
260 260
 
261 261
   private function getLogo(People $company): ?array
262 262
   {
263
-    if ($company->getImage() instanceof File)
264
-      return [
263
+    if ($company->getImage() instanceof File) {
264
+          return [
265 265
         'id'     => $company->getImage()->getId(),
266 266
         'domain' => $this->domainService->getMainDomain(),
267 267
         'url'    => '/files/download/' . $company->getImage()->getId()
268 268
       ];
269
+    }
269 270
 
270 271
     return null;
271 272
   }
Please login to merge, or discard this patch.