Skip to content

Commit

Permalink
Resource should not be string type
Browse files Browse the repository at this point in the history
  • Loading branch information
mbackonja committed Jul 29, 2022
1 parent 6319b02 commit 285cdf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Events/ButtonClick.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class ButtonClick
{
use Dispatchable;

public string $resource;
public $resource;

public ?string $key;

public function __construct(string $resource, ?string $key)
public function __construct($resource, ?string $key)
{
$this->resource = $resource;
$this->key = $key;
Expand Down

0 comments on commit 285cdf6

Please sign in to comment.