Completed
Push — master ( 4a6728...38f4b8 )
by Philipp
03:55
created
src/Misc/Cookie.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             // I needed to change decrypt(value, unserialize = false);
42 42
             $value = app('encrypter')->decrypt($this->getCookie(), $this->serialize);
43 43
             // This part is new since Laravel 7.22.0 (Improve cookie encryption)
44
-            return strpos($value, sha1($this->key) . '|') !== 0 ? null : substr($value, 41);
44
+            return strpos($value, sha1($this->key).'|') !== 0 ? null : substr($value, 41);
45 45
         } catch (DecryptException $e) {
46 46
             // Somehow the middleware for decrypting does not kick in here...
47 47
             // but it even fails if we use php artisan <something> (weird)
Please login to merge, or discard this patch.
src/Localization/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
             // this could be a future bug
25 25
             // when no middleware is active the language is not set right
26 26
             // domain.com could be in german etc...
27
-            if (! Config::beautify()) {
27
+            if (!Config::beautify()) {
28 28
                 // if the middleware is active we should be redirected to en.domain.com
29 29
                 // if not the fallback language is going to be used
30 30
                 return Config::fallbackLocale();
Please login to merge, or discard this patch.