Skip to content

Commit

Permalink
Fixed Implicitly nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSlabon committed Dec 5, 2024
1 parent 85e79b9 commit e8cbb6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function create(
int $days = 365,
int $serial = 0,
array $configargs = [],
array $extraattribs = null
?array $extraattribs = null
): Certificate
{
$configargs = \array_merge(
Expand Down
2 changes: 1 addition & 1 deletion src/Csr.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Csr
* @param array|null $extraattribs
* @return Csr
*/
public static function create(array $dn, array $configargs = [], array $extraattribs = null): Csr
public static function create(array $dn, array $configargs = [], ?array $extraattribs = null): Csr
{
$configargs = \array_merge(
[
Expand Down

0 comments on commit e8cbb6e

Please sign in to comment.