Skip to content

Commit d78d60a

Browse files
committed
Deprecated wrongly-named PhpPropertyReflection::hasPhpDoc()
1 parent 7bc5582 commit d78d60a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Reflection/Php/PhpPropertyReflection.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,13 @@ public function isPromoted(): bool
129129
return $this->reflection->isPromoted();
130130
}
131131

132+
/** @deprecated Use hasPhpDocType() */
132133
public function hasPhpDoc(): bool
134+
{
135+
return $this->hasPhpDocType();
136+
}
137+
138+
public function hasPhpDocType(): bool
133139
{
134140
return $this->phpDocType !== null;
135141
}

0 commit comments

Comments
 (0)