Skip to content

Commit 7f9ce45

Browse files
docs(api): clarify what -1 means for getNumericStorageId
Added additional details to the return annotation for clarity. Signed-off-by: Josh <[email protected]>
1 parent e58a9da commit 7f9ce45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/public/Files/Cache/ICache.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ interface ICache {
4646
/**
4747
* Get the numeric storage id for this cache's storage
4848
*
49-
* @return int
49+
* @return int The numeric storage ID from the oc_storages table,
50+
* or -1 if the storage is unavailable or failed.
5051
* @since 9.0.0
5152
*/
5253
public function getNumericStorageId();

0 commit comments

Comments
 (0)