This commit is contained in:
iVampireSP.com 2023-02-11 16:48:08 +08:00
parent 39f6ea04b0
commit da8d3bc2d7
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
5 changed files with 3 additions and 50 deletions

View File

@ -1,34 +0,0 @@
<?php
namespace App\View\Components;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class BasicCard extends Component
{
public string $title;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($title)
{
//
$this->title = $title;
}
/**
* Get the view / contents that represent the component.
*
* @return View
*/
public function render(): View
{
return view('components.basic-card', [
'title' => $this->title,
]);
}
}

View File

@ -7,7 +7,7 @@
class HostStatus extends Component
{
public string|null $status = null;
public ?string $status = null;
/**
* Create a new component instance.
@ -16,8 +16,6 @@ class HostStatus extends Component
*/
public function __construct($status)
{
//
$this->status = $status;
}

View File

@ -8,16 +8,6 @@
class ModuleScript extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the view / contents that represent the component.
*

View File

@ -7,7 +7,7 @@
class Payment extends Component
{
public string|null $payment = '';
public ?string $payment = null;
/**
* Create a new component instance.
@ -16,7 +16,6 @@ class Payment extends Component
*/
public function __construct(string|null $payment)
{
//
$this->payment = $payment;
}

View File

@ -7,7 +7,7 @@
class WorkOrderStatus extends Component
{
public string|null $status = null;
public ?string $status = null;
/**
* Create a new component instance.