Skip to content

Commit 6affb71

Browse files
committed
remove default parameter from seedDatabase
1 parent c9ae155 commit 6affb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Laravel/InteractsWithEloquent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function makeMultiple(string $model, int $times, array $attributes = [],
249249
*
250250
* @param class-string|class-string[] $seeders
251251
*/
252-
public function seedDatabase($seeders = 'Database\\Seeders\\DatabaseSeeder'): void
252+
public function seedDatabase($seeders): void
253253
{
254254
foreach (Arr::wrap($seeders) as $seeder) {
255255
$this->callArtisan('db:seed', ['--class' => $seeder, '--no-interaction' => true]);

0 commit comments

Comments
 (0)