Skip to content

Commit a5eca62

Browse files
KristofferFMphil-davis
authored andcommitted
Ran php-cs-fixer
1 parent 234e328 commit a5eca62

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/ITip/Broker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function parseEvent($calendar, $userHref, $oldCalendar = null): array
259259
if (in_array($attendee['href'], $userHref)) {
260260
$isPartstatDefined = false;
261261
foreach ($attendee['instances'] as $instance) {
262-
if ($instance['partstat'] != 'NEEDS-ACTION') {
262+
if ('NEEDS-ACTION' != $instance['partstat']) {
263263
$isPartstatDefined = true;
264264
break;
265265
}

tests/VObject/ITip/BrokerAttendeeReplyTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class BrokerAttendeeReplyTest extends BrokerTester
66
{
77
public function testAccepted(): void
88
{
9-
109
// If $oldMessage is not set, in some cases an iTip message
1110
// still needs to be generated; this happens when partstat
1211
// differs from NEEDS-ACTION. For example, this is relevant in
@@ -15,7 +14,7 @@ public function testAccepted(): void
1514
// participation before the upload. Also see
1615
// https://github.com/sabre-io/vobject/issues/719
1716

18-
$oldMessage = "";
17+
$oldMessage = '';
1918

2019
$newMessage = <<<ICS
2120
BEGIN:VCALENDAR

0 commit comments

Comments
 (0)