Code clean up [skip ci]

This commit is contained in:
James Cole
2016-09-16 12:07:45 +02:00
parent a07799cfa4
commit f38984398d
60 changed files with 111 additions and 152 deletions

View File

@@ -224,7 +224,7 @@ class FireflyValidator extends Validator
public function validateUniqueAccountForUser($attribute, $value, $parameters): bool
{
// because a user does not have to be logged in (tests and what-not).
if (!Auth::check()) {
if (!auth()->check()) {
return $this->validateAccountAnonymously();
}