diff --git a/generator/src/PhpStanFunctions/PhpStanFunction.php b/generator/src/PhpStanFunctions/PhpStanFunction.php index c6054de2..7381f17a 100644 --- a/generator/src/PhpStanFunctions/PhpStanFunction.php +++ b/generator/src/PhpStanFunctions/PhpStanFunction.php @@ -21,7 +21,7 @@ class PhpStanFunction public function __construct(array $signature) { if (count($signature) < 1) { - throw new \RuntimeException('Invalid signoatures'); + throw new \RuntimeException('Invalid signatures'); } $this->returnType = new PhpStanType(\array_shift($signature)); foreach ($signature as $name => $type) {