Skip to content

Commit

Permalink
Merge branch '5.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 17, 2018
2 parents efd4923 + 29bf2e8 commit 0dbc1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Encrypter.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function supported($key, $cipher)
*/
public static function generateKey($cipher)
{
return random_bytes($cipher == 'AES-128-CBC' ? 16 : 32);
return random_bytes($cipher === 'AES-128-CBC' ? 16 : 32);
}

/**
Expand Down

0 comments on commit 0dbc1ba

Please sign in to comment.