@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 | } |
@@ -108,7 +108,8 @@ |
||
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 | } |