@@ -98,7 +98,7 @@ |
||
98 | 98 | return $roleItems; |
99 | 99 | } |
100 | 100 | |
101 | - public function signupNewUser(&$user=null) |
|
101 | + public function signupNewUser(&$user = null) |
|
102 | 102 | { |
103 | 103 | if ($this->validate()) { |
104 | 104 | $userClass = neon()->getUser()->identityClass; |
@@ -129,7 +129,7 @@ |
||
129 | 129 | * @param boolean $activeOnly whether to fetch only active users |
130 | 130 | * @return User|null |
131 | 131 | */ |
132 | - public function getUser($activeOnly=false) |
|
132 | + public function getUser($activeOnly = false) |
|
133 | 133 | { |
134 | 134 | if ($this->_user === false) { |
135 | 135 | $this->_user = call_user_func( |
@@ -49,7 +49,7 @@ |
||
49 | 49 | if ($hasExpired) { |
50 | 50 | throw new InvalidArgumentException('This password reset token has expired.'); |
51 | 51 | } |
52 | - if ( !$this->_user ) { |
|
52 | + if (!$this->_user) { |
|
53 | 53 | throw new InvalidArgumentException('Wrong password reset token.'); |
54 | 54 | } |
55 | 55 | parent::__construct($config); |