mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: fix phpstan issues
This commit is contained in:
parent
ffa94dbe40
commit
c48c5875c6
@ -539,10 +539,13 @@ class MSGraphRemoteCalendarConnector implements RemoteCalendarConnectorInterface
|
|||||||
$userId = $this->mapCalendarToUser->getUserId($user);
|
$userId = $this->mapCalendarToUser->getUserId($user);
|
||||||
|
|
||||||
if (null === $userId) {
|
if (null === $userId) {
|
||||||
throw new Exception('no remote calendar for this user', 55698, [
|
throw new Exception(
|
||||||
'user' => $user->getId(),
|
sprintf(
|
||||||
'remoteId' => $remoteId,
|
'no remote calendar for this user: %s, remoteid: %s',
|
||||||
]);
|
$user->getId(),
|
||||||
|
$remoteId
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user