@@ -28,10 +28,10 @@ |
||
28 | 28 | */ |
29 | 29 | public function getUser() |
30 | 30 | { |
31 | - if(! $this->userId) { |
|
31 | + if (!$this->userId) { |
|
32 | 32 | return null; |
33 | 33 | } |
34 | - if (! $this->user) { |
|
34 | + if (!$this->user) { |
|
35 | 35 | $this->user = \Craft::$app->getUsers()->getUserById( |
36 | 36 | $this->userId |
37 | 37 | ); |