Error in seeding command in Laravel

Posted 1 year ago by afoysal

I am using Laravel Framework 5.5.33. I am trying to run php artisan db:seed command but I am getting following error. My DatabaseSeeder.php file is like below.


use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
    public function run()

I couldn't find out the Source of the error. Could anyone help me to find out the source ?

enter image description here

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.