Skip to content

Commit 19e99e7

Browse files
committed
fix: Fixed PHP 8.4 deprecation
1 parent e16aa48 commit 19e99e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/Exception/SecretNotFoundException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class SecretNotFoundException extends \Exception
1414
{
15-
public function __construct(string $key, \Exception $childException = null)
15+
public function __construct(string $key, ?\Exception $childException = null)
1616
{
1717
parent::__construct('No secret was found with the key: "'.$key.'"', 404, $childException);
1818
}

0 commit comments

Comments
 (0)