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