We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a869e1 commit af9621bCopy full SHA for af9621b
1 file changed
src/hmmmath/Exception/InvalidArgumentException.php
@@ -44,7 +44,7 @@ private static function validateType($value, string $type, ?string $specializati
44
45
$validationMethod = 'validate' . $type . strtr($specialization, ['.' => '']);
46
47
- if (!is_callable(['static', $validationMethod])) {
+ if (!is_callable([static::class, $validationMethod])) {
48
return false;
49
}
50
0 commit comments