Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit ef5d864

Browse files
committed
Fixed compatibility with PHPStan 0.12
1 parent 644f2c2 commit ef5d864

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Reflection/PHPParser/NamespacedNameProperty.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ public function isInternal(): TrinaryLogic
8383
return TrinaryLogic::createNo();
8484
}
8585

86-
/** @return string|false */
87-
public function getDocComment()
86+
public function getDocComment(): ?string
8887
{
89-
return false;
88+
return null;
9089
}
9190

9291
}

0 commit comments

Comments
 (0)