@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | $attachment = $this->doUploadFile($application, $info); |
| 90 | 90 | |
| 91 | 91 | // remove existing image |
| 92 | - if(!is_null($application->getContact()->getImage())){ |
|
| 92 | + if (!is_null($application->getContact()->getImage())) { |
|
| 93 | 93 | $image = $application->getContact()->getImage(); |
| 94 | 94 | $application->getContact()->setImage(null); |
| 95 | 95 | $dm->remove($image); |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | $metadata->setName($info['name']); |
| 119 | 119 | $metadata->preventPersistingAnonymousUser(); |
| 120 | 120 | |
| 121 | - if(!is_null($user) && !$user instanceof AnonymousUser) { |
|
| 121 | + if (!is_null($user) && !$user instanceof AnonymousUser) { |
|
| 122 | 122 | $this->dm->persist($user); |
| 123 | 123 | } |
| 124 | 124 | |