Skip to content

Commit f26b556

Browse files
committed
not isset
1 parent e626610 commit f26b556

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Node/NotIssetExpr.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function getExpr(): Expr
2121

2222
public function getType(): string
2323
{
24-
return 'PHPStan_Node_UnsetExpr';
24+
return 'PHPStan_Node_NotIssetExpr';
2525
}
2626

2727
/**

src/Node/Printer/Printer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ protected function pPHPStan_Node_PropertyInitializationExpr(PropertyInitializati
5858
return sprintf('__phpstanPropertyInitialization(%s)', $expr->getPropertyName());
5959
}
6060

61-
protected function pPHPStan_Node_UnsetExpr(NotIssetExpr $expr): string // phpcs:ignore
61+
protected function pPHPStan_Node_NotIssetExpr(NotIssetExpr $expr): string // phpcs:ignore
6262
{
63-
return sprintf('__phpstanUnsetExpr(%s)', $this->p($expr->getExpr()));
63+
return sprintf('__phpstanNotIssetExpr(%s)', $this->p($expr->getExpr()));
6464
}
6565

6666
}

0 commit comments

Comments
 (0)