mehmetanbaki
1 month ago
376
8
Laravel

TDD

Posted 1 month ago by mehmetanbaki

Hey Laravelers

I have this problem :


$threads->each(function ($thread) { factory('App\Reply', 10)->create(['thread_id' => $thread_id]); });
PHP Notice:  Undefined variable: thread_id in Psy Shell code on line 2


by the way it's from :

Let's Build A Forum with Laravel and TDD Course

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