We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff11ff commit 2c1570fCopy full SHA for 2c1570f
stubs/factory.blade.php
@@ -1,6 +1,10 @@
1
namespace {{$namespace}};
2
3
-use Faker\Generator as Faker;
+@if(!empty($fields))
4
+ use Faker\Generator as Faker;
5
+
6
+@endif
7
8
use Illuminate\Database\Eloquent\Factories\Factory;
9
use {{$modelNamespace}}\{{$entity}};
10
tests/fixtures/CommandTest/factory.php
@@ -2,7 +2,6 @@
namespace RonasIT\Support\Tests\Support\Command\Factories;
use RonasIT\Support\Tests\Support\Command\Models\Post;
0 commit comments