We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3438193 commit 9917859Copy full SHA for 9917859
1 file changed
apps/dav/lib/DAV/Sharing/Backend.php
@@ -116,6 +116,7 @@ public function deleteAllSharesByUser(string $principaluri): void {
116
* @return list<array{href: string, commonName: string, status: int, readOnly: bool, '{http://owncloud.org/ns}principal': string, '{http://owncloud.org/ns}group-share': bool}>
117
*/
118
public function getShares(int $resourceId): array {
119
+ /** @var list<array{href: string, commonName: string, status: int, readOnly: bool, '{http://owncloud.org/ns}principal': string, '{http://owncloud.org/ns}group-share': bool}>|null $cached */
120
$cached = $this->shareCache->get((string)$resourceId);
121
if (is_array($cached)) {
122
return $cached;
0 commit comments