Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
tzsk authored and StyleCIBot committed Sep 28, 2019
1 parent 52c4feb commit c20bde9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EncryptionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public static function make()
protected function key()
{
$key = config('crypton.key');
if(Str::contains($key, 'base64:')) {
if (Str::contains($key, 'base64:')) {
$key = substr($key, 7);
}

return base64_decode($key);
}
}

0 comments on commit c20bde9

Please sign in to comment.