diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/HordeTranslationHandler.php | 2 | ||||
-rw-r--r-- | lib/Model/IMAPMessage.php | 4 | ||||
-rw-r--r-- | lib/Model/IMessage.php | 6 | ||||
-rw-r--r-- | lib/Service/AutoConfig/IspDb.php | 2 |
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}', |