Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/controller.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
use {{$servicesNamespace}}\{{$entity}}Service;
@if (in_array('D', $options) || in_array('U', $options))
use Symfony\Component\HttpFoundation\Response;

@endif

class {{$entity}}Controller extends Controller
{
@if (in_array('C', $options))
Expand Down
2 changes: 1 addition & 1 deletion stubs/model.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class {{$entity}} extends Model
{
use ModelTrait, HasFactory;
use HasFactory, ModelTrait;

protected $fillable = [
@foreach($fields as $field)
Expand Down
2 changes: 1 addition & 1 deletion stubs/test.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class {{$entity}}Test extends TestCase
protected static ModelTestState ${{\Illuminate\Support\Str::camel($entity)}}State;

@endif
public function setUp() : void
public function setUp(): void
{
parent::setUp();
@if ($withAuth)
Expand Down
Loading