Passed
Push — master ( 37c4a2...288d0a )
by Anton
02:44
created
src/Auth/Cycle/Token.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         array $payload,
52 52
         DateTimeInterface $createdAt,
53 53
         DateTimeInterface $expiresAt = null
54
-    ) {
54
+    ){
55 55
         $this->id = $id;
56 56
 
57 57
         $this->secretValue = $secretValue;
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function getPayload(): array
110 110
     {
111
-        if (is_resource($this->payload)) {
111
+        if (is_resource($this->payload)){
112 112
             // postgres
113 113
             return json_decode(stream_get_contents($this->payload), true);
114 114
         }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,8 @@
 block discarded – undo
108 108
      */
109 109
     public function getPayload(): array
110 110
     {
111
-        if (is_resource($this->payload)) {
111
+        if (is_resource($this->payload))
112
+        {
112 113
             // postgres
113 114
             return json_decode(stream_get_contents($this->payload), true);
114 115
         }
Please login to merge, or discard this patch.