@@ -98,8 +98,7 @@ discard block |
||
| 98 | 98 | { |
| 99 | 99 | $customer = $this->getCustomer(); |
| 100 | 100 | |
| 101 | - return $this->displayname ?: |
|
| 102 | - ( |
|
| 101 | + return $this->displayname ?: ( |
|
| 103 | 102 | $customer && trim($customer->getFullName()) |
| 104 | 103 | ? $customer->getFullName() |
| 105 | 104 | : $this->username |
@@ -150,7 +149,7 @@ discard block |
||
| 150 | 149 | */ |
| 151 | 150 | public function getMediaPath() |
| 152 | 151 | { |
| 153 | - return '/user/' . $this->usernameCanonical; |
|
| 152 | + return '/user/'.$this->usernameCanonical; |
|
| 154 | 153 | } |
| 155 | 154 | |
| 156 | 155 | /** |
@@ -227,7 +226,7 @@ discard block |
||
| 227 | 226 | */ |
| 228 | 227 | public function setEnabled($boolean) |
| 229 | 228 | { |
| 230 | - $this->enabled = (Boolean)$boolean; |
|
| 229 | + $this->enabled = (Boolean) $boolean; |
|
| 231 | 230 | |
| 232 | 231 | if (!$this->isConfirmed()) { |
| 233 | 232 | $this->enabled = false; |