Skip to content

Commit ccbb342

Browse files
committed
chore(cleanup): unused variables
Signed-off-by: Max <max@nextcloud.com>
1 parent 1a17488 commit ccbb342

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/Controller/PublicSessionController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function __construct(
3838
ISession $session,
3939
private ShareManager $shareManager,
4040
private ApiService $apiService,
41-
private DocumentService $documentService,
4241
private FileService $fileService,
4342
private IL10N $l10n,
4443
) {
@@ -101,7 +100,7 @@ public function close(int $documentId, int $sessionId, string $sessionToken, str
101100
#[PublicPage]
102101
#[RequireDocumentBaseVersionEtag]
103102
#[RequireDocumentSession]
104-
public function push(int $documentId, int $sessionId, string $sessionToken, int $version, array $steps, string $awareness, string $token, ?int $recoveryAttempt = null): DataResponse {
103+
public function push(int $version, array $steps, string $awareness, string $token, ?int $recoveryAttempt = null): DataResponse {
105104
return $this->apiService->push($this->getSession(), $this->getDocument(), $version, $steps, $awareness, $recoveryAttempt, $token);
106105
}
107106

0 commit comments

Comments
 (0)