Fix undefined classes, constants and methods#6094
Conversation
There was a problem hiding this comment.
Are these methods called statically only from within the class? Because I'd simply change the static:: calls to self:: calls instead of increasing visibility
There was a problem hiding this comment.
Yes. But in my opinion these methods would be useful in possible subclasses anyway (e.g. if you want to change the conversion). Therefore I preferred the increased visibility.
There was a problem hiding this comment.
I'd personally disallow inheritance usage here unless there's a very strong use-case for it - if you don't have it, then changing static:: to self:: is preferable.
|
Pull request updated to use |
There was a problem hiding this comment.
@samsonasik handled @786757c5ab564de8d23495566ab3fbca459e45cb
|
@micheh thanks for changing the visibility as requested. I will merge as-is: if you feel like changing visibility of the discussed methods is required, then I'd still want to see a good use-case before accepting such a change ;-) |
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
…ls-fixes' into develop Close zendframework/zendframework#6094 Forward Port zendframework/zendframework#6094
This pull request fixes undefined classes in phpDoc and one undefined class constant. In addition, the visibility for some methods was increased to
protectedas those methods were called withstatic.