Skip to content

Commit

Permalink
Merge pull request #55 from lara-zeus/fix-department
Browse files Browse the repository at this point in the history
change department id to accept null
  • Loading branch information
atmonshi authored Jun 29, 2023
2 parents 6ad978c + 55503d2 commit 75620b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Livewire/ContactsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ContactsForm extends Component implements Forms\Contracts\HasForms
{
use Forms\Concerns\InteractsWithForms;

public Department|null $department = null;
public ?Department $department = null;

public string $name = '';

Expand All @@ -28,7 +28,7 @@ class ContactsForm extends Component implements Forms\Contracts\HasForms

public string $message = '';

public int $department_id;
public ?int $department_id;

public bool $sent = false;

Expand Down

0 comments on commit 75620b3

Please sign in to comment.