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