Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiptopcoder committed Jan 2, 2020
1 parent 686f82f commit 2604249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct($builder)
{
parent::__construct('SCRYPT', 0, 8, $builder);

if (!is_null($builder->getKey()) || strlen($builder->getKey()) === 0) {
if (is_null($builder->getKey()) || strlen($builder->getKey()) === 0) {
throw new \InvalidArgumentException('A non-empty key is required for Scrypt');
}

Expand Down

0 comments on commit 2604249

Please sign in to comment.