Skip to content

Commit af4ad01

Browse files
juliusknorrbackportbot[bot]
authored andcommitted
chore: Fix psalm issues
Signed-off-by: Julius Knorr <jus@bitgrid.net> [skip ci]
1 parent c6aaa7a commit af4ad01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Controller/PublicSessionController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ public function save(string $token, int $version = 0, ?string $autosaveContent =
9898
return $this->apiService->save($this->getSession(), $this->getDocument(), $version, $autosaveContent, $documentState, $force, $manualSave, $token);
9999
}
100100

101-
/**
102-
* @psalm-return DataResponse<int, array|null|object|scalar, array<string, mixed>>
103-
*/
104101
#[NoAdminRequired]
105102
#[PublicPage]
106103
#[RequireDocumentSession]

psalm.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
</stubs>
1313
<projectFiles>
1414
<directory name="lib" />
15+
<ignoreFiles>
16+
<directory name="vendor" />
17+
</ignoreFiles>
1518
</projectFiles>
1619
<extraFiles>
1720
<directory name="vendor/nextcloud/ocp" />

0 commit comments

Comments
 (0)