Skip to content

Commit

Permalink
Fixed type hinting for consent
Browse files Browse the repository at this point in the history
  • Loading branch information
dsbilling committed Dec 17, 2023
1 parent 1fbbe59 commit aa4b030
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Http/Livewire/Profile/Consent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@

namespace App\Http\Livewire\Profile;

use Illuminate\Http\Response;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;

class Consent extends Component
{
public $consents = [];
public array $consents = [];

public function mount()
public function mount(): void
{
$this->consents = config('app.consents');
}

/**
* Display a view.
*/
public function render(): Response
public function render(): View
{
return view('livewire.profile.consent');
}
Expand Down

0 comments on commit aa4b030

Please sign in to comment.