Passed
Push — master ( 172061...3e865e )
by
unknown
02:11
created
class.recurrence.php 1 patch
Spacing   +17 added lines, -30 removed lines patch added patch discarded remove patch
@@ -236,8 +236,7 @@  discard block
 block discarded – undo
236 236
 			$propTag = $this->proptags[$propKey];
237 237
 			if (array_key_exists($propTag, $exception_props)) {
238 238
 				$extomodify[$mapping["target"]] = $mapping["transform"] ?
239
-					$this->fromGMT($this->tz, $exception_props[$propTag]) :
240
-					$exception_props[$propTag];
239
+					$this->fromGMT($this->tz, $exception_props[$propTag]) : $exception_props[$propTag];
241 240
 			}
242 241
 		}
243 242
 
@@ -421,7 +420,7 @@  discard block
 block discarded – undo
421 420
 	 *       yourself if this reminder time is earlier than your snooze time, else
422 421
 	 *       use your snooze time and not this reminder time.
423 422
 	 */
424
-	public function getNextReminderTime(int $timestamp): false|int {
423
+	public function getNextReminderTime(int $timestamp): false | int {
425 424
 		/**
426 425
 		 * Get next item from now until forever, but max 1 item with reminder set
427 426
 		 * Note 0x7ff00000 instead of 0x7fffffff because of possible overflow failures when converting to GMT....
@@ -616,11 +615,8 @@  discard block
 block discarded – undo
616 615
 	public function getOccDate(bool $getStart = true): mixed {
617 616
 		return $getStart ?
618 617
 			(isset($this->recur['startocc']) ?
619
-				$this->recur['start'] + (((int) $this->recur['startocc']) * 60) :
620
-				$this->recur['start']) :
621
-			(isset($this->recur['endocc']) ?
622
-				$this->recur['start'] + (((int) $this->recur['endocc']) * 60) :
623
-				$this->recur['end']);
618
+				$this->recur['start'] + (((int) $this->recur['startocc']) * 60) : $this->recur['start']) : (isset($this->recur['endocc']) ?
619
+				$this->recur['start'] + (((int) $this->recur['endocc']) * 60) : $this->recur['end']);
624 620
 	}
625 621
 
626 622
 	/**
@@ -653,8 +649,7 @@  discard block
 block discarded – undo
653 649
 						$end,
654 650
 						$startocc,
655 651
 						$endocc
656
-					) :
657
-					sprintf(
652
+					) : sprintf(
658 653
 						_('Occurs every %s %s effective %s until %s from %s to %s.'),
659 654
 						$interval,
660 655
 						$type,
@@ -663,16 +658,14 @@  discard block
 block discarded – undo
663 658
 						$startocc,
664 659
 						$endocc
665 660
 					)
666
-			) :
667
-			(
661
+			) : (
668 662
 				$occSingleDayRank ?
669 663
 					sprintf(
670 664
 						_('Occurs every %s effective %s until %s.'),
671 665
 						$type,
672 666
 						$start,
673 667
 						$end
674
-					) :
675
-					sprintf(
668
+					) : sprintf(
676 669
 						_('Occurs every %s %s effective %s until %s.'),
677 670
 						$interval,
678 671
 						$type,
@@ -711,8 +704,7 @@  discard block
 block discarded – undo
711 704
 						$numocc,
712 705
 						$startocc,
713 706
 						$endocc
714
-					) :
715
-					sprintf(
707
+					) : sprintf(
716 708
 						dngettext(
717 709
 							'zarafa',
718 710
 							'Occurs every %s %s effective %s for %s occurrence from %s to %s.',
@@ -726,8 +718,7 @@  discard block
 block discarded – undo
726 718
 						$startocc,
727 719
 						$endocc
728 720
 					)
729
-			) :
730
-			(
721
+			) : (
731 722
 				$occSingleDayRank ?
732 723
 					sprintf(
733 724
 						dngettext(
@@ -739,8 +730,7 @@  discard block
 block discarded – undo
739 730
 						$type,
740 731
 						$start,
741 732
 						$numocc
742
-					) :
743
-					sprintf(
733
+					) : sprintf(
744 734
 						dngettext(
745 735
 							'zarafa',
746 736
 							'Occurs every %s %s effective %s for %s occurrence.',
@@ -776,8 +766,7 @@  discard block
 block discarded – undo
776 766
 						$start,
777 767
 						$startocc,
778 768
 						$endocc
779
-					) :
780
-					sprintf(
769
+					) : sprintf(
781 770
 						_('Occurs every %s %s effective %s from %s to %s.'),
782 771
 						$interval,
783 772
 						$type,
@@ -785,15 +774,13 @@  discard block
 block discarded – undo
785 774
 						$startocc,
786 775
 						$endocc
787 776
 					)
788
-			) :
789
-			(
777
+			) : (
790 778
 				$occSingleDayRank ?
791 779
 					sprintf(
792 780
 						_('Occurs every %s effective %s.'),
793 781
 						$type,
794 782
 						$start
795
-					) :
796
-					sprintf(
783
+					) : sprintf(
797 784
 						_('Occurs every %s %s effective %s.'),
798 785
 						$interval,
799 786
 						$type,
@@ -1135,7 +1122,7 @@  discard block
 block discarded – undo
1135 1122
 	/**
1136 1123
 	 * Returns the exception if there is a CHANGE exception on the given base date, or FALSE otherwise.
1137 1124
 	 */
1138
-	public function getChangeException(int $basedate): array|false {
1125
+	public function getChangeException(int $basedate): array | false {
1139 1126
 		// Check if the occurrence is modified on the specified date
1140 1127
 		foreach ($this->recur["changed_occurrences"] as $changed) {
1141 1128
 			if ($this->isSameDay($changed["basedate"], $basedate)) {
@@ -1220,7 +1207,7 @@  discard block
 block discarded – undo
1220 1207
 				else {
1221 1208
 					$recip[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable;
1222 1209
 				}
1223
-				$recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone;		// No Response required
1210
+				$recip[PR_RECIPIENT_TRACKSTATUS] = olResponseNone; // No Response required
1224 1211
 			}
1225 1212
 			unset($recip);
1226 1213
 			mapi_message_modifyrecipients($exception, MODRECIP_MODIFY, $exception_recips['remove']);
@@ -1295,7 +1282,7 @@  discard block
 block discarded – undo
1295 1282
 						else {
1296 1283
 							$recipient[PR_RECIPIENT_FLAGS] = recipReserved | recipExceptionalDeleted | recipSendable;
1297 1284
 						}
1298
-						$recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone;	// No Response required
1285
+						$recipient[PR_RECIPIENT_TRACKSTATUS] = olRecipientTrackStatusNone; // No Response required
1299 1286
 						$deletedRecipients[] = $recipient;
1300 1287
 					}
1301 1288
 				}
@@ -1329,7 +1316,7 @@  discard block
 block discarded – undo
1329 1316
 	 *
1330 1317
 	 * @psalm-return false|list<mixed>
1331 1318
 	 */
1332
-	public function getAllExceptions(): array|false {
1319
+	public function getAllExceptions(): array | false {
1333 1320
 		if (!empty($this->recur["changed_occurrences"])) {
1334 1321
 			$result = [];
1335 1322
 			foreach ($this->recur["changed_occurrences"] as $exception) {
Please login to merge, or discard this patch.
class.meetingrequest.php 1 patch
Spacing   +38 added lines, -40 removed lines patch added patch discarded remove patch
@@ -159,15 +159,15 @@  discard block
 block discarded – undo
159 159
 		$properties['reminderminutes'] = 'PT_LONG:PSETID_Common:' . PidLidReminderDelta;
160 160
 		$properties['reminderset'] = 'PT_BOOLEAN:PSETID_Common:' . PidLidReminderSet;
161 161
 		$properties['sendasical'] = 'PT_BOOLEAN:PSETID_Appointment:0x8200';
162
-		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence;					// AppointmentSequenceNumber
162
+		$properties['updatecounter'] = 'PT_LONG:PSETID_Appointment:' . PidLidAppointmentSequence; // AppointmentSequenceNumber
163 163
 		$properties['unknown7'] = 'PT_LONG:PSETID_Appointment:0x8202';
164
-		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203';			// AppointmentLastSequence
164
+		$properties['last_updatecounter'] = 'PT_LONG:PSETID_Appointment:0x8203'; // AppointmentLastSequence
165 165
 		$properties['busystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidBusyStatus;
166 166
 		$properties['intendedbusystatus'] = 'PT_LONG:PSETID_Appointment:' . PidLidIntendedBusyStatus;
167 167
 		$properties['start'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
168 168
 		$properties['responselocation'] = 'PT_STRING8:PSETID_Meeting:0x2';
169 169
 		$properties['location'] = 'PT_STRING8:PSETID_Appointment:' . PidLidLocation;
170
-		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229';		// PidLidFInvited, MeetingRequestWasSent
170
+		$properties['requestsent'] = 'PT_BOOLEAN:PSETID_Appointment:0x8229'; // PidLidFInvited, MeetingRequestWasSent
171 171
 		$properties['startdate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentStartWhole;
172 172
 		$properties['duedate'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentEndWhole;
173 173
 		$properties['flagdueby'] = 'PT_SYSTIME:PSETID_Common:' . PidLidReminderSignalTime;
@@ -176,11 +176,11 @@  discard block
 block discarded – undo
176 176
 		$properties['recurring'] = 'PT_BOOLEAN:PSETID_Appointment:' . PidLidRecurring;
177 177
 		$properties['clipstart'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipStart;
178 178
 		$properties['clipend'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidClipEnd;
179
-		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD';				// StartRecurTime
180
-		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE';				// StartRecurTime
181
-		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF';				// EndRecurDate
182
-		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10';				// EndRecurTime
183
-		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA';				// LID_IS_EXCEPTION
179
+		$properties['start_recur_date'] = 'PT_LONG:PSETID_Meeting:0xD'; // StartRecurTime
180
+		$properties['start_recur_time'] = 'PT_LONG:PSETID_Meeting:0xE'; // StartRecurTime
181
+		$properties['end_recur_date'] = 'PT_LONG:PSETID_Meeting:0xF'; // EndRecurDate
182
+		$properties['end_recur_time'] = 'PT_LONG:PSETID_Meeting:0x10'; // EndRecurTime
183
+		$properties['is_exception'] = 'PT_BOOLEAN:PSETID_Meeting:0xA'; // LID_IS_EXCEPTION
184 184
 		$properties['apptreplyname'] = 'PT_STRING8:PSETID_Appointment:0x8230';
185 185
 		// Propose new time properties
186 186
 		$properties['proposed_start_whole'] = 'PT_SYSTIME:PSETID_Appointment:' . PidLidAppointmentProposedStartWhole;
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 *
220 220
 	 * @return bool returns true if this is a meeting request else false
221 221
 	 */
222
-	public function isMeetingRequest(false|string $messageClass = false): bool {
222
+	public function isMeetingRequest(false | string $messageClass = false): bool {
223 223
 		if ($messageClass === false) {
224 224
 			$messageClass = mapi_getprops($this->message, [PR_MESSAGE_CLASS])[PR_MESSAGE_CLASS] ?? false;
225 225
 		}
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 	 *
235 235
 	 * @return bool returns true if this is a meeting request else false
236 236
 	 */
237
-	public function isMeetingRequestResponse(false|string $messageClass = false): bool {
237
+	public function isMeetingRequestResponse(false | string $messageClass = false): bool {
238 238
 		if ($messageClass === false) {
239 239
 			$messageClass = mapi_getprops($this->message, [PR_MESSAGE_CLASS])[PR_MESSAGE_CLASS] ?? false;
240 240
 		}
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 	 *
250 250
 	 * @return bool returns true if this is a meeting request else false
251 251
 	 */
252
-	public function isMeetingCancellation(false|string $messageClass = false): bool {
252
+	public function isMeetingCancellation(false | string $messageClass = false): bool {
253 253
 		if ($messageClass === false) {
254 254
 			$messageClass = mapi_getprops($this->message, [PR_MESSAGE_CLASS])[PR_MESSAGE_CLASS] ?? false;
255 255
 		}
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 *
263 263
 	 * @return false|int false when last_updatecounter not found else return last_updatecounter
264 264
 	 */
265
-	public function getLastUpdateCounter(): false|int {
265
+	public function getLastUpdateCounter(): false | int {
266 266
 		$calendarItemProps = mapi_getprops($this->message, [$this->proptags['last_updatecounter']]);
267 267
 
268 268
 		return $calendarItemProps[$this->proptags['last_updatecounter']] ?? false;
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
 		$listProperties['rcvd_representing_search_key'] = PR_RCVD_REPRESENTING_SEARCH_KEY;
533 533
 		$messageProps = mapi_getprops($this->message, $listProperties);
534 534
 
535
-		$goid = $messageProps[$this->proptags['goid']];	// GlobalID (0x3)
535
+		$goid = $messageProps[$this->proptags['goid']]; // GlobalID (0x3)
536 536
 		if (!isset($goid)) {
537 537
 			return;
538 538
 		}
@@ -608,7 +608,7 @@  discard block
 block discarded – undo
608 608
 	 *
609 609
 	 * @return bool|string $entryid entryid of item which created/updated in calendar
610 610
 	 */
611
-	public function doAccept(bool $tentative, bool $sendresponse, bool $move, mixed $newProposedStartTime = false, mixed $newProposedEndTime = false, mixed $body = false, mixed $userAction = false, mixed $store = false, mixed $basedate = false, bool $isImported = false): bool|string {
611
+	public function doAccept(bool $tentative, bool $sendresponse, bool $move, mixed $newProposedStartTime = false, mixed $newProposedEndTime = false, mixed $body = false, mixed $userAction = false, mixed $store = false, mixed $basedate = false, bool $isImported = false): bool | string {
612 612
 		if ($this->isLocalOrganiser()) {
613 613
 			return false;
614 614
 		}
@@ -1259,7 +1259,7 @@  discard block
 block discarded – undo
1259 1259
 	 * @FIXME cancellation mail is also sent to attendee which has declined the meeting
1260 1260
 	 * @FIXME don't send canellation mail when cancelling meeting from past
1261 1261
 	 */
1262
-	public function doCancelInvitation(false|int $basedate = false): void {
1262
+	public function doCancelInvitation(false | int $basedate = false): void {
1263 1263
 		if (!$this->isLocalOrganiser()) {
1264 1264
 			return;
1265 1265
 		}
@@ -1336,7 +1336,7 @@  discard block
 block discarded – undo
1336 1336
 	 * is only used for new MeetingRequests. Pass the appointment item as $message
1337 1337
 	 * in the constructor to do this.
1338 1338
 	 */
1339
-	public function setMeetingRequest(false|int $basedate = false): void {
1339
+	public function setMeetingRequest(false | int $basedate = false): void {
1340 1340
 		$props = mapi_getprops($this->message, [$this->proptags['updatecounter']]);
1341 1341
 
1342 1342
 		// Create a new global id for this item
@@ -1372,7 +1372,7 @@  discard block
 block discarded – undo
1372 1372
 		$props[$this->proptags['goid2']] = $goid;
1373 1373
 
1374 1374
 		if (!isset($props[$this->proptags['updatecounter']])) {
1375
-			$props[$this->proptags['updatecounter']] = 0;			// OL also starts sequence no with zero.
1375
+			$props[$this->proptags['updatecounter']] = 0; // OL also starts sequence no with zero.
1376 1376
 			$props[$this->proptags['last_updatecounter']] = 0;
1377 1377
 		}
1378 1378
 
@@ -1391,7 +1391,7 @@  discard block
 block discarded – undo
1391 1391
 	 *
1392 1392
 	 * @psalm-return array{error: 1|3|4, displayname: mixed}|true
1393 1393
 	 */
1394
-	public function sendMeetingRequest(mixed $cancel, mixed $prefix = false, mixed $basedate = false, mixed $modifiedRecips = false, mixed $deletedRecips = false): array|true {
1394
+	public function sendMeetingRequest(mixed $cancel, mixed $prefix = false, mixed $basedate = false, mixed $modifiedRecips = false, mixed $deletedRecips = false): array | true {
1395 1395
 		$this->includesResources = false;
1396 1396
 		$this->nonAcceptingResources = [];
1397 1397
 
@@ -1490,7 +1490,7 @@  discard block
 block discarded – undo
1490 1490
 	 * as it will automatically call setMeetingRequest on this object if it is the first
1491 1491
 	 * call to this function.
1492 1492
 	 */
1493
-	public function updateMeetingRequest(false|int $basedate = false): void {
1493
+	public function updateMeetingRequest(false | int $basedate = false): void {
1494 1494
 		$messageprops = mapi_getprops($this->message, [$this->proptags['last_updatecounter'], $this->proptags['goid']]);
1495 1495
 
1496 1496
 		if (!isset($messageprops[$this->proptags['goid']])) {
@@ -1520,7 +1520,7 @@  discard block
 block discarded – undo
1520 1520
 
1521 1521
 		$calendarItem = $isMeetingMessage ?
1522 1522
 			$this->getCorrespondentCalendarItem(true) : // Meeting request/response/cancellation mail
1523
-			$this->message;  // Calendar item
1523
+			$this->message; // Calendar item
1524 1524
 
1525 1525
 		// Even if we have received request/response for exception/occurrence then also
1526 1526
 		// we can check recurring series for organizer, no need to check with exception/occurrence
@@ -1603,7 +1603,7 @@  discard block
 block discarded – undo
1603 1603
 	 *
1604 1604
 	 * @return bool|string default calendar folder of store
1605 1605
 	 */
1606
-	public function getDefaultWastebasketEntryID(mixed $store = false): bool|string {
1606
+	public function getDefaultWastebasketEntryID(mixed $store = false): bool | string {
1607 1607
 		return $this->getBaseEntryID(PR_IPM_WASTEBASKET_ENTRYID, $store);
1608 1608
 	}
1609 1609
 
@@ -1614,7 +1614,7 @@  discard block
 block discarded – undo
1614 1614
 	 *
1615 1615
 	 * @return bool|string default sent mail folder of store
1616 1616
 	 */
1617
-	public function getDefaultSentmailEntryID(mixed $store = false): bool|string {
1617
+	public function getDefaultSentmailEntryID(mixed $store = false): bool | string {
1618 1618
 		return $this->getBaseEntryID(PR_IPM_SENTMAIL_ENTRYID, $store);
1619 1619
 	}
1620 1620
 
@@ -1628,7 +1628,7 @@  discard block
 block discarded – undo
1628 1628
 	 *
1629 1629
 	 * @return bool|string entryid of folder pointed by $prop
1630 1630
 	 */
1631
-	public function getDefaultFolderEntryID(int $prop, mixed $store = false): bool|string {
1631
+	public function getDefaultFolderEntryID(int $prop, mixed $store = false): bool | string {
1632 1632
 		try {
1633 1633
 			$inbox = mapi_msgstore_getreceivefolder($store ?: $this->store);
1634 1634
 			$inboxprops = mapi_getprops($inbox, [$prop]);
@@ -1670,7 +1670,7 @@  discard block
 block discarded – undo
1670 1670
 	 *
1671 1671
 	 * @return bool|string entryid of default folder from store
1672 1672
 	 */
1673
-	public function getBaseEntryID(int $prop, mixed $store = false): bool|string {
1673
+	public function getBaseEntryID(int $prop, mixed $store = false): bool | string {
1674 1674
 		$storeprops = mapi_getprops($store ?: $this->store, [$prop]);
1675 1675
 
1676 1676
 		return $storeprops[$prop] ?? false;
@@ -2028,7 +2028,7 @@  discard block
 block discarded – undo
2028 2028
 	}
2029 2029
 
2030 2030
 	// Gets the SMTP address of the passed addressbook entryid
2031
-	public function getSMTPAddress(string $entryid): false|string {
2031
+	public function getSMTPAddress(string $entryid): false | string {
2032 2032
 		if (!$this->session) {
2033 2033
 			return false;
2034 2034
 		}
@@ -2067,7 +2067,7 @@  discard block
 block discarded – undo
2067 2067
 	 *
2068 2068
 	 * @psalm-return false|list{mixed, mixed, mixed, mixed, mixed}
2069 2069
 	 */
2070
-	public function getOwnerAddress(mixed $store, bool $fallbackToLoggedInUser = true): array|false {
2070
+	public function getOwnerAddress(mixed $store, bool $fallbackToLoggedInUser = true): array | false {
2071 2071
 		if (!$this->session) {
2072 2072
 			return false;
2073 2073
 		}
@@ -2076,8 +2076,7 @@  discard block
 block discarded – undo
2076 2076
 
2077 2077
 		// Determine owner entry ID: use mailbox owner if not falling back, otherwise use user entry ID
2078 2078
 		$ownerEntryId = (!$fallbackToLoggedInUser && !empty($storeProps[PR_MAILBOX_OWNER_ENTRYID])) ?
2079
-			$storeProps[PR_MAILBOX_OWNER_ENTRYID] :
2080
-			($storeProps[PR_USER_ENTRYID] ?? false);
2079
+			$storeProps[PR_MAILBOX_OWNER_ENTRYID] : ($storeProps[PR_USER_ENTRYID] ?? false);
2081 2080
 
2082 2081
 		if (!$ownerEntryId) {
2083 2082
 			return false;
@@ -2183,7 +2182,7 @@  discard block
 block discarded – undo
2183 2182
 	 *
2184 2183
 	 * @return false|int true if basedate is found else false it not found
2185 2184
 	 */
2186
-	public function getBasedateFromGlobalID(string $goid): false|int {
2185
+	public function getBasedateFromGlobalID(string $goid): false | int {
2187 2186
 		$hexguid = bin2hex($goid);
2188 2187
 		$hexbase = substr($hexguid, 32, 8);
2189 2188
 		$day = (int) hexdec(substr($hexbase, 6, 2));
@@ -2202,7 +2201,7 @@  discard block
 block discarded – undo
2202 2201
 	 *
2203 2202
 	 * @return false|string globalID with basedate in it
2204 2203
 	 */
2205
-	public function setBasedateInGlobalID(string $goid, false|int $basedate = false, ?BaseRecurrence $recurrence = null): false|string {
2204
+	public function setBasedateInGlobalID(string $goid, false | int $basedate = false, ?BaseRecurrence $recurrence = null): false | string {
2206 2205
 		$hexguid = bin2hex($goid);
2207 2206
 		$timestamp = $basedate;
2208 2207
 
@@ -2349,7 +2348,7 @@  discard block
 block discarded – undo
2349 2348
 		$getResourcesRestriction = [
2350 2349
 			RES_PROPERTY,
2351 2350
 			[
2352
-				RELOP => RELOP_EQ,	// Equals recipient type 3: Resource
2351
+				RELOP => RELOP_EQ, // Equals recipient type 3: Resource
2353 2352
 				ULPROPTAG => PR_RECIPIENT_TYPE,
2354 2353
 				VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2355 2354
 			],
@@ -2810,7 +2809,7 @@  discard block
 block discarded – undo
2810 2809
 				$restriction[1][] = [
2811 2810
 					RES_PROPERTY,
2812 2811
 					[
2813
-						RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
2812
+						RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
2814 2813
 						ULPROPTAG => PR_RECIPIENT_TYPE,
2815 2814
 						VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2816 2815
 					],
@@ -2907,7 +2906,7 @@  discard block
 block discarded – undo
2907 2906
 			$stripResourcesRestriction[1][] = [
2908 2907
 				RES_PROPERTY,
2909 2908
 				[
2910
-					RELOP => RELOP_NE,	// Does not equal recipient type: MAPI_BCC (Resource)
2909
+					RELOP => RELOP_NE, // Does not equal recipient type: MAPI_BCC (Resource)
2911 2910
 					ULPROPTAG => PR_RECIPIENT_TYPE,
2912 2911
 					VALUE => [PR_RECIPIENT_TYPE => MAPI_BCC],
2913 2912
 				],
@@ -3011,7 +3010,7 @@  discard block
 block discarded – undo
3011 3010
 			$newmessageprops[PR_MESSAGE_CLASS] = 'IPM.Schedule.Meeting.Canceled';
3012 3011
 			$newmessageprops[$this->proptags['meetingstatus']] = olMeetingCanceled; // It's a cancel request
3013 3012
 			$newmessageprops[$this->proptags['busystatus']] = fbFree; // set the busy status as free
3014
-			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH;	// HIGH Importance
3013
+			$newmessageprops[PR_IMPORTANCE] = IMPORTANCE_HIGH; // HIGH Importance
3015 3014
 			if (isset($newmessageprops[PR_SUBJECT])) {
3016 3015
 				$newmessageprops[PR_SUBJECT] = _('Canceled') . ': ' . $newmessageprops[PR_SUBJECT];
3017 3016
 			}
@@ -3195,7 +3194,7 @@  discard block
 block discarded – undo
3195 3194
 	 *
3196 3195
 	 * @return bool true if meeting request is updated later
3197 3196
 	 */
3198
-	public function isMeetingUpdated(false|int $basedate = false): bool {
3197
+	public function isMeetingUpdated(false | int $basedate = false): bool {
3199 3198
 		$result = false;
3200 3199
 
3201 3200
 		$props = mapi_getprops($this->message, [PR_MESSAGE_CLASS, $this->proptags['updatecounter']]);
@@ -3419,7 +3418,7 @@  discard block
 block discarded – undo
3419 3418
 	 *
3420 3419
 	 * @psalm-return bool|int<1, max>
3421 3420
 	 */
3422
-	public function isMeetingConflicting(mixed $message = false, mixed $userStore = false, mixed $calFolder = false): bool|int {
3421
+	public function isMeetingConflicting(mixed $message = false, mixed $userStore = false, mixed $calFolder = false): bool | int {
3423 3422
 		$returnValue = false;
3424 3423
 		$noOfInstances = 0;
3425 3424
 
@@ -3614,7 +3613,7 @@  discard block
 block discarded – undo
3614 3613
 	 *
3615 3614
 	 * @return false|string $meetingTimeInfo info about meeting timing along with message body
3616 3615
 	 */
3617
-	public function getMeetingTimeInfo(): false|string {
3616
+	public function getMeetingTimeInfo(): false | string {
3618 3617
 		return $this->meetingTimeInfo;
3619 3618
 	}
3620 3619
 
@@ -3624,7 +3623,7 @@  discard block
 block discarded – undo
3624 3623
 	 *
3625 3624
 	 * @param string $meetingTimeInfo info about meeting timing along with message body
3626 3625
 	 */
3627
-	public function setMeetingTimeInfo(false|string $meetingTimeInfo): void {
3626
+	public function setMeetingTimeInfo(false | string $meetingTimeInfo): void {
3628 3627
 		$this->meetingTimeInfo = $meetingTimeInfo;
3629 3628
 	}
3630 3629
 
@@ -3827,8 +3826,7 @@  discard block
 block discarded – undo
3827 3826
 		$recipientTable = mapi_message_getrecipienttable($message);
3828 3827
 
3829 3828
 		return empty($restriction) ?
3830
-			mapi_table_queryallrows($recipientTable, $this->recipprops) :
3831
-			mapi_table_queryallrows($recipientTable, $this->recipprops, $restriction);
3829
+			mapi_table_queryallrows($recipientTable, $this->recipprops) : mapi_table_queryallrows($recipientTable, $this->recipprops, $restriction);
3832 3830
 	}
3833 3831
 
3834 3832
 	/**
Please login to merge, or discard this patch.