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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:06:46 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-14 17:06:46 +0300
commit7f32cfe6570d112fb748c9a97590e2b9d6e8aafb (patch)
tree931a9c6eaca5fafcd280f9fe7fa6c268631f60f2 /lib/Events
parent2107b0f6ffe97ac40152207f7f90cc2a94ce46d1 (diff)
Update to nextcloud coding standard v0.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Events')
-rw-r--r--lib/Events/BeforeMessageDeletedEvent.php6
-rw-r--r--lib/Events/DraftSavedEvent.php5
-rw-r--r--lib/Events/MessageDeletedEvent.php6
-rw-r--r--lib/Events/MessageFlaggedEvent.php1
-rw-r--r--lib/Events/MessageSentEvent.php5
-rw-r--r--lib/Events/SaveDraftEvent.php5
6 files changed, 15 insertions, 13 deletions
diff --git a/lib/Events/BeforeMessageDeletedEvent.php b/lib/Events/BeforeMessageDeletedEvent.php
index be2b107e9..a77e4075f 100644
--- a/lib/Events/BeforeMessageDeletedEvent.php
+++ b/lib/Events/BeforeMessageDeletedEvent.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -55,6 +57,4 @@ class BeforeMessageDeletedEvent extends Event {
public function getMessageId(): int {
return $this->messageId;
}
-
-
}
diff --git a/lib/Events/DraftSavedEvent.php b/lib/Events/DraftSavedEvent.php
index 79a385530..f8b6368da 100644
--- a/lib/Events/DraftSavedEvent.php
+++ b/lib/Events/DraftSavedEvent.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -58,5 +60,4 @@ class DraftSavedEvent extends Event {
public function getDraftUid(): ?int {
return $this->draftUid;
}
-
}
diff --git a/lib/Events/MessageDeletedEvent.php b/lib/Events/MessageDeletedEvent.php
index 46d9b0367..344f5f3d3 100644
--- a/lib/Events/MessageDeletedEvent.php
+++ b/lib/Events/MessageDeletedEvent.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -58,6 +60,4 @@ class MessageDeletedEvent extends Event {
public function getMessageId(): int {
return $this->messageId;
}
-
-
}
diff --git a/lib/Events/MessageFlaggedEvent.php b/lib/Events/MessageFlaggedEvent.php
index 976648fc0..a5e5fa97e 100644
--- a/lib/Events/MessageFlaggedEvent.php
+++ b/lib/Events/MessageFlaggedEvent.php
@@ -78,5 +78,4 @@ class MessageFlaggedEvent extends Event {
public function isSet(): bool {
return $this->set;
}
-
}
diff --git a/lib/Events/MessageSentEvent.php b/lib/Events/MessageSentEvent.php
index c0642e68a..563467c4c 100644
--- a/lib/Events/MessageSentEvent.php
+++ b/lib/Events/MessageSentEvent.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -88,5 +90,4 @@ class MessageSentEvent extends Event {
public function getMail(): Horde_Mime_Mail {
return $this->mail;
}
-
}
diff --git a/lib/Events/SaveDraftEvent.php b/lib/Events/SaveDraftEvent.php
index 699a63ae7..1f5590281 100644
--- a/lib/Events/SaveDraftEvent.php
+++ b/lib/Events/SaveDraftEvent.php
@@ -1,4 +1,6 @@
-<?php declare(strict_types=1);
+<?php
+
+declare(strict_types=1);
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
@@ -58,5 +60,4 @@ class SaveDraftEvent extends Event {
public function getDraftUid(): ?int {
return $this->draftUid;
}
-
}