Completed
Push — master ( 4e8d1d...8d6f18 )
by Philipp
03:00
created
src/Misc/Url.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,10 @@
 block discarded – undo
28 28
      */
29 29
     protected static function configDomainIsSet(): bool
30 30
     {
31
-        if (!$domain = Config::domain()) return false; // config was not set
31
+        if (!$domain = Config::domain()) {
32
+            return false;
33
+        }
34
+        // config was not set
32 35
 
33 36
         //the host could have a different domain, thats why we check it here
34 37
         return Str::contains(self::host(), $domain);
Please login to merge, or discard this patch.
src/Misc/Cookie.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,9 @@
 block discarded – undo
20 20
 
21 21
     public function get(): ?string
22 22
     {
23
-        if (!$this->has()) return null;
23
+        if (!$this->has()) {
24
+            return null;
25
+        }
24 26
 
25 27
         try {
26 28
             //Somehow I got this error: unserialize(): Error at offset 0 of 2 bytes
Please login to merge, or discard this patch.