From f6878b5bcfd8334aaca733610b82cdf316d0c220 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sun, 26 Jan 2020 20:44:41 +0100 Subject: [PATCH] fix return type --- src/Object/EMail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Object/EMail.php b/src/Object/EMail.php index 496729a15d..5f152738d7 100644 --- a/src/Object/EMail.php +++ b/src/Object/EMail.php @@ -122,7 +122,7 @@ class EMail implements IEmail * @param string $email The email of the recipient * @param int $uid The (optional) UID of the recipient for further infos * - * @return EMail + * @return static */ public function withRecipient(string $email, int $uid = null) {