Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
v-stamenova committed Sep 25, 2024
1 parent 80e08b8 commit abd28c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Livewire/Company/AddMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function invite(): void
$this->validate();
if ($this->currentRole == 'speaker') {
$this->currentRole = 'pending speaker';
} else if ($this->currentRole == 'booth owner') {
} elseif ($this->currentRole == 'booth owner') {
$this->currentRole = 'pending booth owner';
}

Expand Down
8 changes: 7 additions & 1 deletion app/Livewire/ConfirmationModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace App\Livewire;

use Illuminate\View\View;
use Livewire\Component;
use LivewireUI\Modal\ModalComponent;

Expand All @@ -13,7 +14,12 @@ class ConfirmationModal extends ModalComponent
public $isApproved;
public ?string $callToAction;

public function render()
/**
* Renders the component
*
* @return View
*/
public function render() : View
{
return view('livewire.confirmation-modal');
}
Expand Down

0 comments on commit abd28c0

Please sign in to comment.