Skip to content

Commit

Permalink
Merge pull request #83 from creative-commoners/pulls/3.2/remove-self
Browse files Browse the repository at this point in the history
ENH Use class name instead of self
  • Loading branch information
GuySartorelli authored Jun 17, 2024
2 parents e33c5f1 + 0ba82ee commit cd4dc5f
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 = self::class;
$class = SettingsField::class;
throw new InvalidArgumentException(
"{$class}::__construct does not accept extra parameters."
);
Expand Down

0 comments on commit cd4dc5f

Please sign in to comment.