Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-03-24 01:20:38 +0300
committerdartcafe <github@dartcafe.de>2021-03-24 01:20:38 +0300
commit68bd3a9b3d781b153acbc7f4acef09685ec776c9 (patch)
tree3217529d89c2e2e091c984ec3cb9da9e11c385c8 /lib
parent03bd2bca7a04e9bb8efc01caf4957a77cd956e45 (diff)
cs-fix
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Comment.php2
-rw-r--r--lib/Db/Log.php2
-rw-r--r--lib/Db/Option.php4
-rw-r--r--lib/Db/Poll.php2
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/Db/Comment.php b/lib/Db/Comment.php
index 8d4d0888..5171dd5c 100644
--- a/lib/Db/Comment.php
+++ b/lib/Db/Comment.php
@@ -64,7 +64,7 @@ class Comment extends Entity implements JsonSerializable {
public function __construct() {
$this->addType('pollId', 'integer');
$this->addType('timestamp', 'integer');
- }
+ }
public function jsonSerialize() {
return [
diff --git a/lib/Db/Log.php b/lib/Db/Log.php
index 2e1dcc56..4ea5e0b2 100644
--- a/lib/Db/Log.php
+++ b/lib/Db/Log.php
@@ -75,7 +75,7 @@ class Log extends Entity implements JsonSerializable {
$this->addType('pollId', 'integer');
$this->addType('created', 'integer');
$this->addType('processed', 'integer');
- }
+ }
public function jsonSerialize() {
return [
diff --git a/lib/Db/Option.php b/lib/Db/Option.php
index f44f3d61..95d324b9 100644
--- a/lib/Db/Option.php
+++ b/lib/Db/Option.php
@@ -105,7 +105,7 @@ class Option extends Entity implements JsonSerializable {
$this->addType('order', 'integer');
$this->addType('confirmed', 'integer');
$this->addType('duration', 'integer');
- }
+ }
public function jsonSerialize() {
return [
@@ -132,7 +132,7 @@ class Option extends Entity implements JsonSerializable {
public function getPollOptionText(): string {
if ($this->timestamp && $this->duration) {
- return date('c', $this->timestamp) . ' - ' . date('c', $this->timestamp + $this->duration);
+ return date('c', $this->timestamp) . ' - ' . date('c', $this->timestamp + $this->duration);
} elseif ($this->timestamp && !$this->duration) {
return date('c', $this->timestamp);
} else {
diff --git a/lib/Db/Poll.php b/lib/Db/Poll.php
index c4ac6d46..e89908c9 100644
--- a/lib/Db/Poll.php
+++ b/lib/Db/Poll.php
@@ -168,7 +168,7 @@ class Poll extends Entity implements JsonSerializable {
$this->addType('adminAccess', 'integer');
$this->addType('important', 'integer');
$this->addType('hideBookedUp', 'integer');
- }
+ }
public function jsonSerialize() {
return [