Skip to content

Commit

Permalink
Deprecated wrongly-named PhpPropertyReflection::hasPhpDoc()
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Aug 17, 2021
1 parent 7bc5582 commit d78d60a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Reflection/Php/PhpPropertyReflection.php
Expand Up @@ -129,7 +129,13 @@ public function isPromoted(): bool
return $this->reflection->isPromoted();
}

/** @deprecated Use hasPhpDocType() */
public function hasPhpDoc(): bool
{
return $this->hasPhpDocType();
}

public function hasPhpDocType(): bool
{
return $this->phpDocType !== null;
}
Expand Down

0 comments on commit d78d60a

Please sign in to comment.