From cb5fc31e67589522f4a17fbe2fe4e8927f909bc8 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Thu, 28 Nov 2024 11:34:31 +0100 Subject: [PATCH] Fix typo in "signatures" (#429) --- generator/src/PhpStanFunctions/PhpStanFunction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {