Skip to content

Commit

Permalink
Fix: minor wording of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Mtangoo committed Jan 14, 2025
1 parent e51d587 commit 4befe7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/filters/auth/CompositeAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function authenticate($user, $request, $response)

$authUser = $auth->user;
if ($authUser != null && !$authUser instanceof \yii\web\User) {
throw new InvalidConfigException(get_class($authUser) . ' must implement of a type yii\web\User');
throw new InvalidConfigException(get_class($authUser) . ' must implement yii\web\User');
} elseif ($authUser != null) {
$user = $authUser;
}
Expand Down

0 comments on commit 4befe7c

Please sign in to comment.