Skip to content

Commit

Permalink
get_class() without args is deprecated with php83
Browse files Browse the repository at this point in the history
  • Loading branch information
lerni committed May 28, 2024
1 parent 71ff532 commit 6603979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FolderDropdownField.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function setLastFolderID($folderID)
{
$request = Controller::curr()->getRequest();
$session = $request->getSession();
$session->set(get_class() . '.FolderID', $folderID);
$session->set($this::class . '.FolderID', $folderID);
}

/**
Expand Down

0 comments on commit 6603979

Please sign in to comment.