From c20bde92254782797e7b2f3ec1f6a1ed823cc875 Mon Sep 17 00:00:00 2001 From: Kazi Mainuddin Ahmed Date: Sat, 28 Sep 2019 08:51:48 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/EncryptionFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EncryptionFactory.php b/src/EncryptionFactory.php index a46f70e..94c68e8 100644 --- a/src/EncryptionFactory.php +++ b/src/EncryptionFactory.php @@ -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); } }