@@ -261,12 +261,13 @@ |
||
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 | } |