Skip to content

Commit

Permalink
Merge pull request #2 from LinioPay/refactor/static
Browse files Browse the repository at this point in the history
refactor: refactor: replace string for static::class
  • Loading branch information
Felynx3 authored Nov 16, 2023
2 parents 0a869e1 + af9621b commit 15136cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hmmmath/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static function validateType($value, string $type, ?string $specializati

$validationMethod = 'validate' . $type . strtr($specialization, ['.' => '']);

if (!is_callable(['static', $validationMethod])) {
if (!is_callable([static::class, $validationMethod])) {
return false;
}

Expand Down

0 comments on commit 15136cb

Please sign in to comment.