Skip to content

Are PHPDoc fields from the stub overrides corresponding PHPDocs from the original class? #6205

Discussion options

You must be logged in to vote

Stubs are not merged, if you override the PHPDoc on the top of the class, the one from the stub file is going to be used. But of course if the original class has a different PHPDoc for example above some property, and you don't override that one in the stub, the original one is going to be used.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@VBelozyorov
Comment options

@ondrejmirtes
Comment options

Answer selected by VBelozyorov
Comment options

You must be logged in to vote
1 reply
@rudiedirkx
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants