Skip to content

Commit

Permalink
Fix typo in "signatures"
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Oct 23, 2023
1 parent 3a6e43b commit 5f4d689
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 5f4d689

Please sign in to comment.