We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a869e1 + af9621b commit 15136cbCopy full SHA for 15136cb
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