Skip to content

Commit

Permalink
Fix typo in "signatures" (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod authored Nov 28, 2024
1 parent f6f479f commit cb5fc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/src/PhpStanFunctions/PhpStanFunction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cb5fc31

Please sign in to comment.