Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pkly committed Apr 19, 2024
1 parent ff0c3d2 commit fd7e80b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Service/VerifierService.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function validateField(

if (1 === $count) {
$existingCounter = array_key_exists(0, $wantedState) ? 0 : 1;

return $this->equals($changes[$existingCounter], $wantedState[$existingCounter]); // @phpstan-ignore-line
} elseif (2 === $count) {
/** @var array{0: mixed, 1: mixed} $wantedState */
Expand Down
2 changes: 1 addition & 1 deletion tests/Service/SubEventServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ public function testEmpty(): void
'There should be sub events for specified entity'
);
}
}
}

0 comments on commit fd7e80b

Please sign in to comment.