mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
DX: fix phpstan issues
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user