Skip to content

Commit

Permalink
use Member::class
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Jun 23, 2023
1 parent 2e73b5e commit 9391e69
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@ public function authenticateRequest(HTTPRequest $request)
return null;
}
/** @var Member $member */
$member = DataObject::get_by_id("SilverStripe\\Security\\Member", $id);
$member = DataObject::get_by_id(Member::class, $id);
return $member;
}

Expand Down

0 comments on commit 9391e69

Please sign in to comment.