Updated some copyright notices [skip ci]

This commit is contained in:
James Cole
2016-12-23 07:02:45 +01:00
parent 8fb9577660
commit bf0744e03a
52 changed files with 338 additions and 126 deletions

View File

@@ -153,11 +153,12 @@ class UserRepository implements UserRepositoryInterface
* @param User $user
* @param string $password
*
* @return mixed
* @return bool
*/
public function changePassword(User $user, string $password)
public function changePassword(User $user, string $password): bool
{
$user->password = bcrypt($password);
$user->save();
return true;
}
}