Skip to content

Commit

Permalink
Merge pull request #9 from tzsk/analysis-8LNn7k
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
tzsk authored Sep 28, 2019
2 parents 54f34b5 + c20bde9 commit 0fa2443
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 0fa2443

Please sign in to comment.