Skip to content

Commit

Permalink
remove token exception from singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
phattarachai committed Nov 22, 2022
1 parent 32c16bd commit 3c2a709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Line.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Line

public const URL = 'https://notify-api.line.me/api/notify';

public function __construct(string $token = null)
public function __construct(?string $token = null)
{
$this->client = new Client(['verify' => false]);
$this->token = $token;
Expand Down

0 comments on commit 3c2a709

Please sign in to comment.