Add generics. #20624
terabytesoftw
started this conversation in
General
Add generics.
#20624
Replies: 4 comments 1 reply
-
|
Great idea! I will do it |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Done. Is there anything else we'd like to discuss here? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thks 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Line 79 in 976eac5 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@mspirkov It would be great to add a generic in
yii\base\Controller::$module.Example:
This would be useful for extensions that use their own
Module::classlikeyii2-debug, i also think we should add generics where necessary, so that static analysis works.Beta Was this translation helpful? Give feedback.
All reactions