Skip to content
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 additional use statement in SearchModel #378

Closed
yii-bot opened this issue Aug 30, 2018 · 0 comments
Closed

Remove additional use statement in SearchModel #378

yii-bot opened this issue Aug 30, 2018 · 0 comments
Labels
ext:gii status:ready for adoption Feel free to implement this issue.
Milestone

Comments

@yii-bot
Copy link

yii-bot commented Aug 30, 2018

This issue has originally been reported by @buttflattery at yiisoft/yii2#16675.
Moved here by @samdark.


By default Yii2's Gii module generates the SearchModel with the statement

use Yii;

on top whereas there isnt any code that calls Yii is that required anyway, as i dont see any difference if i remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext:gii status:ready for adoption Feel free to implement this issue.
Projects
None yet
Development

No branches or pull requests

2 participants