-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Seeder run() static problem #3
Comments
Well, it doesn't really affect the seeding, but phpStorm thinks you are extending the fake Seeder class, instead of the original class. You can probably change your DatabaseSeeder/UserSeederClass to extend the real class (\Illuminate\Database\Seeder) instead of the facade |
Just extend the Seeder class, because it isn't called static (Fixes Issue #3)
Okay, I added an option to only extend the class, and added the Seeder class to the config file to do this. Should fix this error. |
# This is the 1st commit message: fix(pivot): only use unique classes in the pivot union (Fixes barryvdh#1606) improve comment composer fix-style use a safer method # This is the commit message #2: unshift is better than rest # This is the commit message barryvdh#3: composer fix-style # This is a combination of 3 commits. # This is the 1st commit message: fix(pivot): only use unique classes in the pivot union (Fixes barryvdh#1606) improve comment composer fix-style use a safer method # This is the commit message #2: unshift is better than rest # This is the commit message barryvdh#3: composer fix-style
What about this ?
http://postimg.org/image/lh0sso98l/
PHPStorm 6
Laravel 4 beta5
The text was updated successfully, but these errors were encountered: