testing php storm code cleanup and styling
This commit is contained in:
@@ -5,7 +5,6 @@ namespace App\View\Components;
|
||||
use Closure;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
use Visus\Cuid2\Cuid2;
|
||||
|
||||
class Modal extends Component
|
||||
{
|
||||
@@ -13,13 +12,14 @@ class Modal extends Component
|
||||
* Create a new component instance.
|
||||
*/
|
||||
public function __construct(
|
||||
public string $modalId,
|
||||
public string $modalId,
|
||||
public string|null $modalTitle = null,
|
||||
public string|null $modalBody = null,
|
||||
public string|null $modalSubmit = null,
|
||||
public bool $yesOrNo = false,
|
||||
public string $action = 'delete'
|
||||
) {
|
||||
public bool $yesOrNo = false,
|
||||
public string $action = 'delete'
|
||||
)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@ class Modal extends Component
|
||||
{
|
||||
return view('components.modal');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user