@@ -256,12 +256,13 @@ |
||
256 | 256 | |
257 | 257 | private function getLogo(People $company): ?array |
258 | 258 | { |
259 | - if ($company->getFile() instanceof File) |
|
260 | - return [ |
|
259 | + if ($company->getFile() instanceof File) { |
|
260 | + return [ |
|
261 | 261 | 'id' => $company->getFile()->getId(), |
262 | 262 | 'domain' => $_SERVER['HTTP_HOST'], |
263 | 263 | 'url' => '/files/download/' . $company->getFile()->getId() |
264 | 264 | ]; |
265 | + } |
|
265 | 266 | |
266 | 267 | return null; |
267 | 268 | } |