diff options
author | SebastianKrupinski <krupinskis05@gmail.com> | 2024-05-03 09:01:07 -0400 |
---|---|---|
committer | SebastianKrupinski <krupinskis05@gmail.com> | 2024-05-03 09:01:07 -0400 |
commit | 51d338b9cc32b487b7ca8939fef5ef221828cc67 (patch) | |
tree | 2587e34089002d7f462bc01607251f405ba65d3b /apps/dav/lib/CalDAV | |
parent | 2088b492bfd345d8e0c9f9d71e15224befffa291 (diff) | |
download | nextcloud-server-51d338b9cc32b487b7ca8939fef5ef221828cc67.tar.gz nextcloud-server-51d338b9cc32b487b7ca8939fef5ef221828cc67.zip |
fix(caldav): Fixed formatting to comply with php-cs
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r-- | apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index d27dcf55206..dcac8db2bbd 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -207,14 +207,11 @@ class IMipPlugin extends SabreIMipPlugin { // If the iTIP message senderName is null or empty use the user session name as the senderName if (($iTipMessage->senderName instanceof Parameter) && !empty(trim($iTipMessage->senderName->getValue()))) { $senderName = trim($iTipMessage->senderName->getValue()); - } - elseif (is_string($iTipMessage->senderName) && !empty(trim($iTipMessage->senderName))) { + } elseif (is_string($iTipMessage->senderName) && !empty(trim($iTipMessage->senderName))) { $senderName = trim($iTipMessage->senderName); - } - elseif ($this->userSession->getUser() !== null) { + } elseif ($this->userSession->getUser() !== null) { $senderName = trim($this->userSession->getUser()->getDisplayName()); - } - else { + } else { $senderName = ''; } |