laravel / jetstream

Tailwind scaffolding for the Laravel framework.

Home Page:https://jetstream.laravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Class Name Conflicts - Actions

DerekBuntin opened this issue · comments

Jetstream Version

4.0

Jetstream Stack

Livewire

Laravel Version

10.33

PHP Version

8.2

Database Driver & Version

No response

Description

The action

DeleteUserWithTeams.php

Has a class name of 'DeleteUser', which conflicts with the action

DeleteUser

Therefore the action 'DeleteUserWithTeams.php' should have its class name changed to match the file name 'DeleteUserWithTeams'

I hope this helps.

Steps To Reproduce

View the Jetstream Actions located at either:

stubs/app/Actions/DeleteUser.php
stubs/app/Actions/DeleteUserWithTeam.php

And review the class names.

The files are only used when installing Jetstream and exported based on whether you choose installation with or without team options.