Skip to content

Commit 534697e

Browse files
committed
Fix typo
1 parent 8de9986 commit 534697e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/gen_stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ function parseDocComment(DocComment $comment): array {
458458
}
459459

460460
function parseFunctionLike(
461-
PrettyPrinterAbstract $prettyPinter, string $name, ?string $className, Node\FunctionLike $func, ?string $cond
461+
PrettyPrinterAbstract $prettyPrinter, string $name, ?string $className, Node\FunctionLike $func, ?string $cond
462462
): FuncInfo {
463463
$comment = $func->getDocComment();
464464
$paramMeta = [];
@@ -521,7 +521,7 @@ function parseFunctionLike(
521521
$sendBy,
522522
$param->variadic,
523523
$type,
524-
$param->default ? $prettyPinter->prettyPrintExpr($param->default) : null
524+
$param->default ? $prettyPrinter->prettyPrintExpr($param->default) : null
525525
);
526526
if (!$param->default && !$param->variadic) {
527527
$numRequiredArgs = $i + 1;

0 commit comments

Comments
 (0)