diff --git a/src/hmmmath/Exception/InvalidArgumentException.php b/src/hmmmath/Exception/InvalidArgumentException.php index 009084b..1c644e8 100644 --- a/src/hmmmath/Exception/InvalidArgumentException.php +++ b/src/hmmmath/Exception/InvalidArgumentException.php @@ -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; }