Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Phan reports an PhanTypeExpectedObjectPropAccess warning when using array for @return.
Expected an object instance when accessing an instance property, but saw an expression $queue with type non-empty-array<mixed,mixed>
Comment | File | Size | Author |
---|---|---|---|
#2 | features_extra-3270931-update-phpdoc-for.patch | 454 bytes | Dmitrii_Zadorozhnyi |
Comments
Comment #2
Dmitrii_Zadorozhnyi CreditAttribution: Dmitrii_Zadorozhnyi at EPAM Systems commentedI would suggest to apply a patch.
Comment #3
renatogIt really makes sense. +1 to this #RTBC
Comment #5
renatogMoved to the dev branch.
Thank you so much for your contribution @dmitrii_zadorozhnyi