Skip to content

Commit

Permalink
fix bug with wrong default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Castelnuovo committed Nov 4, 2021
1 parent 0959e22 commit 9125580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crypto/Helpers/Symmetric.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

final class Symmetric
{
private static function getProvider(string | null $key = null): SymmetricProvider
private static function getProvider(string $key = ''): SymmetricProvider
{
return new SymmetricProvider(key: $key);
}
Expand Down

0 comments on commit 9125580

Please sign in to comment.