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
path: root/lib
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-07-14 17:09:31 +0300
committerGitHub <noreply@github.com>2021-07-14 17:09:31 +0300
commitfe368acea66ee69d5e48df274f0fb6841fbb0c0f (patch)
tree8c227d36b93770107b7c87b63257b9dbdefc4926 /lib
parentf6c93e6c738fba324225153684eadcac4f548115 (diff)
parent705b34b8baa26e77550fb21e4921534f96e7527b (diff)
Merge pull request #5244 from nextcloud/dependabot/composer/psalm/phar-4.8.1
Bump psalm/phar from 4.7.1 to 4.8.1
Diffstat (limited to 'lib')
-rw-r--r--lib/HordeTranslationHandler.php2
-rw-r--r--lib/Model/IMAPMessage.php4
-rw-r--r--lib/Model/IMessage.php6
-rw-r--r--lib/Service/AutoConfig/IspDb.php2
4 files changed, 7 insertions, 7 deletions
diff --git a/lib/HordeTranslationHandler.php b/lib/HordeTranslationHandler.php
index 1ac40cba2..838980996 100644
--- a/lib/HordeTranslationHandler.php
+++ b/lib/HordeTranslationHandler.php
@@ -27,7 +27,7 @@ class HordeTranslationHandler implements Horde_Translation_Handler {
/**
* Returns the translation of a message.
*
- * @var string $message The string to translate.
+ * @param string $message The string to translate.
*
* @return string The string translation, or the original string if no
* translation exists.
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php
index 846542758..a6c1f6e1b 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -678,11 +678,11 @@ class IMAPMessage implements IMessage, JsonSerializable {
}
/**
- * @param string $message
+ * @param string $id
*
* @return void
*/
- public function setInReplyTo(string $message) {
+ public function setInReplyTo(string $id) {
throw new Exception('not implemented');
}
diff --git a/lib/Model/IMessage.php b/lib/Model/IMessage.php
index 284f6c2c0..74aa64916 100644
--- a/lib/Model/IMessage.php
+++ b/lib/Model/IMessage.php
@@ -96,7 +96,7 @@ interface IMessage {
public function getInReplyTo();
/**
- * @param string $message
+ * @param string $id
*/
public function setInReplyTo(string $id);
@@ -132,9 +132,9 @@ interface IMessage {
public function addRawAttachment(string $name, string $content): void;
/**
- * @param File $fileName
+ * @param File $file
*/
- public function addAttachmentFromFiles(File $fileName);
+ public function addAttachmentFromFiles(File $file);
/**
* @param LocalAttachment $attachment
diff --git a/lib/Service/AutoConfig/IspDb.php b/lib/Service/AutoConfig/IspDb.php
index 7d50d3b2b..d44542660 100644
--- a/lib/Service/AutoConfig/IspDb.php
+++ b/lib/Service/AutoConfig/IspDb.php
@@ -33,7 +33,7 @@ class IspDb {
/** @var LoggerInterface */
private $logger;
- /** @var string[] */
+ /** @returns string[] */
public function getUrls(): array {
return [
'{SCHEME}://autoconfig.{DOMAIN}/mail/config-v1.1.xml?emailaddress={EMAIL}',