Skip to content

Commit

Permalink
FIX Don't use deprecated usage of get_class() (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Mar 19, 2024
1 parent c8f0524 commit 240f576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SettingsField.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class SettingsField extends CompositeField
public function __construct($children = null)
{
if ($children) {
$class = get_class();
$class = self::class;
throw new InvalidArgumentException(
"{$class}::__construct does not accept extra parameters."
);
Expand Down

0 comments on commit 240f576

Please sign in to comment.