Remove return types from ContactRecipient for 5.3
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 23 Feb 2021 08:13:05 +0000 (09:13 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 23 Feb 2021 08:13:05 +0000 (09:13 +0100)
wcfsetup/install/files/lib/data/contact/recipient/ContactRecipient.class.php

index 00a1d066994b524daacd8982e116df0146ecc784..c4cd24a1027ded0e98228c4f40d19cce1216324a 100644 (file)
@@ -56,7 +56,7 @@ class ContactRecipient extends DatabaseObject {
         * 
         * @since 5.3
         */
-       public function getName(): string {
+       public function getName() {
                return WCF::getLanguage()->get($this->name);
        }
        
@@ -65,7 +65,7 @@ class ContactRecipient extends DatabaseObject {
         * 
         * @since 5.3
         */
-       public function getEmail(): string {
+       public function getEmail() {
                return WCF::getLanguage()->get($this->email);
        }
        
@@ -74,7 +74,7 @@ class ContactRecipient extends DatabaseObject {
         * 
         * @since 5.3
         */
-       public function getMailbox(): Mailbox {
+       public function getMailbox() {
                return new Mailbox(
                        $this->getEmail(),
                        $this->getName()