Passed
Push — feature/add-2fa-support ( 8771d9...330d32 )
by Tristan
08:52 queued 11s
created
app/Traits/RememberDeviceTrait.php 1 patch
Spacing   +3 added lines, -3 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
             // Make sure new value is immediately saved to db, as well as to model object.
38 38
             $this->{$this->getRememberDeviceTokenName()} = $value;
39 39
             $timestamps = $this->timestamps;
Please login to merge, or discard this patch.