diff --git a/src/HashedSearch.php b/src/HashedSearch.php index bada3b8..b3b368d 100644 --- a/src/HashedSearch.php +++ b/src/HashedSearch.php @@ -28,7 +28,7 @@ public function __construct(array $config) } - public function create(string $value, string $saltModifier = ""): ?string + public function create(?string $value, string $saltModifier = ""): ?string { //Nothing to hash here! if (strlen($value) === 0 || $value === null) {