diff --git a/app/View/Components/services/advanced.php b/app/View/Components/services/advanced.php index 7e68c6dda..8104eaad4 100644 --- a/app/View/Components/services/advanced.php +++ b/app/View/Components/services/advanced.php @@ -2,6 +2,7 @@ namespace App\View\Components\services; +use App\Models\Service; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; @@ -11,10 +12,9 @@ class advanced extends Component /** * Create a new component instance. */ - public function __construct() - { - // - } + public function __construct( + public ?Service $service = null + ) {} /** * Get the view / contents that represent the component.