@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * Set the current user |
| 88 | 88 | * |
| 89 | 89 | * @param User $user |
| 90 | - * @return boolean |
|
| 90 | + * @return null|User |
|
| 91 | 91 | */ |
| 92 | 92 | public function setUser(User $user) |
| 93 | 93 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | */ |
| 51 | 51 | protected function generateConfirmHash($id) |
| 52 | 52 | { |
| 53 | - $confirmHash = hash('sha256', $id . $this->getConfirmationSecret()); |
|
| 53 | + $confirmHash = hash('sha256', $id.$this->getConfirmationSecret()); |
|
| 54 | 54 | |
| 55 | 55 | return sprintf('%012s', substr(base_convert($confirmHash, 16, 36), -12)); |
| 56 | 56 | } |