-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove useless function definitions #90
base: master
Are you sure you want to change the base?
Conversation
No, these definitions are placed for the IDE type-hinting. |
@klimov-paul I thought it was for type-hinting and made it more clean |
@klimov-paul do you want to say that my + *
+ * @method <?= $modelFullClassName ?>[]|array all($db = null)
+ * @method <?= $modelFullClassName ?>|array|null one($db = null) would not work as IDE type-hinting? phpstorm work well. |
These should work. @dizews could you check NetBeans? |
@samdark it work in the NetBeans. |
@cebe is it a problem for our doc generator? |
it does not consider |
OK. Then this pull request should wait till it's supported. |
@cebe is there any change in regards to doc tool? |
created an issue yiisoft/yii2-apidoc#136 |
@@ -31,21 +34,4 @@ class <?= $className ?> extends <?= '\\' . ltrim($generator->queryBaseClass, '\\ | |||
return $this; | |||
}*/ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Code style) Remove newline.
This can be merged now. |
@arogachev there are conflicts to be resolved first. |
I think it look like more clean then before