@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * |
| 70 | 70 | * @psalm-return array<array-key, Option> |
| 71 | 71 | */ |
| 72 | - public function list(?int $pollId = 0, string $token = ''): array { |
|
| 72 | + public function list(?int $pollId = 0, string $token = '') : array { |
|
| 73 | 73 | if ($token) { |
| 74 | 74 | $this->acl->setToken($token); |
| 75 | 75 | } else { |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | if ($duration === 0) { |
| 330 | 330 | $this->option->setPollOptionText(date('c', $timestamp)); |
| 331 | 331 | } elseif ($duration > 0) { |
| 332 | - $this->option->setPollOptionText(date('c', $timestamp) .' - ' . date('c', $timestamp + $duration)); |
|
| 332 | + $this->option->setPollOptionText(date('c', $timestamp) . ' - ' . date('c', $timestamp + $duration)); |
|
| 333 | 333 | } else { |
| 334 | 334 | $this->option->setPollOptionText($pollOptionText); |
| 335 | 335 | } |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | public function getEnd() { |
| 89 | - return isset($this->event['DTEND'][0])? $this->event['DTEND'][0]->getTimestamp() : 0; |
|
| 89 | + return isset($this->event['DTEND'][0]) ? $this->event['DTEND'][0]->getTimestamp() : 0; |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | public function getHasRRule() { |