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

Commit 147bc06

Browse files
committed
Fixed compatibility with PHPStan 0.12
1 parent 188e9d6 commit 147bc06

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/Reflection/PHPParser/NamespacedNameProperty.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use PhpParser\Node\Name;
66
use PHPStan\Reflection\ClassReflection;
7+
use PHPStan\TrinaryLogic;
78
use PHPStan\Type\ObjectType;
89
use PHPStan\Type\Type;
910

@@ -53,4 +54,19 @@ public function isWritable(): bool
5354
return true;
5455
}
5556

57+
public function isDeprecated(): TrinaryLogic
58+
{
59+
return TrinaryLogic::createNo();
60+
}
61+
62+
public function getDeprecatedDescription(): ?string
63+
{
64+
return null;
65+
}
66+
67+
public function isInternal(): TrinaryLogic
68+
{
69+
return TrinaryLogic::createNo();
70+
}
71+
5672
}

0 commit comments

Comments
 (0)