Passed
Push — feature/add-2fa-support ( 373a46...59a205 )
by Tristan
13:09 queued 05:31
created
app/Traits/RememberDeviceTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function getRememberDeviceToken()
22 22
     {
23
-        if (! empty($this->getRememberDeviceTokenName())) {
24
-            return (string) $this->{$this->getRememberDeviceTokenName()};
23
+        if (!empty($this->getRememberDeviceTokenName())) {
24
+            return (string)$this->{$this->getRememberDeviceTokenName()};
25 25
         }
26 26
     }
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function setRememberDeviceToken($value)
35 35
     {
36
-        if (! empty($this->getRememberDeviceTokenName())) {
36
+        if (!empty($this->getRememberDeviceTokenName())) {
37 37
             $this->{$this->getRememberDeviceTokenName()} = $value;
38 38
         }
39 39
     }
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function getRememberDeviceKey(): string
72 72
     {
73
-        return 'remember_device_'.sha1(static::class);
73
+        return 'remember_device_' . sha1(static::class);
74 74
     }
75 75
 }
Please login to merge, or discard this patch.