Skip to content

Commit 50a46a0

Browse files
committed
fix: replace implicit nullable by explicit null
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 724d933 commit 50a46a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/JSignPDF.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ class JSignPDF
1313
private $service;
1414
private $param;
1515

16-
public function __construct(JSignParam $param = null)
16+
public function __construct(?JSignParam $param = null)
1717
{
1818
$this->service = new JSignService();
1919
$this->param = $param;
2020
}
2121

22-
public static function instance(JSignParam $param = null)
22+
public static function instance(?JSignParam $param = null)
2323
{
2424
return new self($param);
2525
}

0 commit comments

Comments
 (0)