Replies: 2 comments 3 replies
-
Class Support has two See: |
Beta Was this translation helpful? Give feedback.
1 reply
-
2nd attempt here : https://phpstan.org/r/2f313391-b917-4a87-add7-38ce48fc161a Here is my inheritance hierarchy :
There is an object property in the Support class which contain a Ccc object but it complains that : Property Support::$ccc with generic class Ccc does not specify its types: TCcc |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I can't understand why my code cant't validate can u help me ?
to reproduce:
https://phpstan.org/r/2a665afc-6b41-4139-a953-10c01a280773
I have a base class "ObjectModel"
I have a single inheritance : class Ccc
I have an double inheritance : class Support and class SupportDvd
In Support there's a property which stores a Ccc object
The errors are :
Thx a lot
Beta Was this translation helpful? Give feedback.
All reactions