Skip to content

Commit

Permalink
psalm correction
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Nov 6, 2021
1 parent 12686dc commit 5c7338c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phalcon/Encryption/Security.zep
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class Security extends AbstractInjectionAware
break;
}

if legacy {
if unlikely legacy {
let salt = prefix . this->getSaltBytes(bytes) . "$";

return crypt(password, salt);
Expand Down Expand Up @@ -523,7 +523,7 @@ class Security extends AbstractInjectionAware
*
* @param int $workFactor
*
* @return $this
* @return Security
*/
public function setWorkFactor(int workFactor) -> <Security>
{
Expand Down

0 comments on commit 5c7338c

Please sign in to comment.