yii2-gii
yii2-gii copied to clipboard
remove useless function definitions
I think it look like more clean then before
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 @method
annotations yet so application docs will show docs for original implementation.
OK. Then this pull request should wait till it's supported.
@cebe is there any change in regards to doc tool?
created an issue https://github.com/yiisoft/yii2-apidoc/issues/136
This can be merged now.
@arogachev there are conflicts to be resolved first.