Skip to content

Commit c1de17c

Browse files
committed
Fix typos
1 parent 3adc625 commit c1de17c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Node/Printer/Printer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function pPHPStan_Node_SetExistingOffsetValueTypeExpr(SetExistingOffse
8080

8181
protected function pPHPStan_Node_AlwaysRememberedExpr(AlwaysRememberedExpr $expr): string // phpcs:ignore
8282
{
83-
return sprintf('__phpstanRembered(%s)', $this->p($expr->getExpr()));
83+
return sprintf('__phpstanRemembered(%s)', $this->p($expr->getExpr()));
8484
}
8585

8686
protected function pPHPStan_Node_PropertyInitializationExpr(PropertyInitializationExpr $expr): string // phpcs:ignore

src/Type/Constant/ConstantArrayType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,7 @@ public function sliceArray(Type $offsetType, Type $lengthType, TrinaryLogic $pre
977977
if ($offset < 0) {
978978
/*
979979
* Transforms the problem with the negative offset in one with a positive offset using array reversion.
980-
* The reason is belows handling of optional keys which works only from left to right.
980+
* The reason is below handling of optional keys which works only from left to right.
981981
*
982982
* e.g.
983983
* array{a: 0, b: 1, c: 2, d: 3, e: 4}

0 commit comments

Comments
 (0)