Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Document all getIncomplete implementations as returning string|false
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Aug 2, 2022
commit 7ae67917374844bc704a15da46159b5c19513f60
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/Wrapper/CacheJail.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function getAll() {
* use the one with the highest id gives the best result with the background scanner, since that is most
* likely the folder where we stopped scanning previously
*
* @return string|bool the path of the folder or false when no folder matched
* @return string|false the path of the folder or false when no folder matched
*/
public function getIncomplete() {
// not supported
Expand Down
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/Wrapper/CacheWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function getAll() {
* use the one with the highest id gives the best result with the background scanner, since that is most
* likely the folder where we stopped scanning previously
*
* @return string|bool the path of the folder or false when no folder matched
* @return string|false the path of the folder or false when no folder matched
*/
public function getIncomplete() {
return $this->getCache()->getIncomplete();
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Files/Cache/ICache.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function searchQuery(ISearchQuery $query);
* use the one with the highest id gives the best result with the background scanner, since that is most
* likely the folder where we stopped scanning previously
*
* @return string|bool the path of the folder or false when no folder matched
* @return string|false the path of the folder or false when no folder matched
* @since 9.0.0
*/
public function getIncomplete();
Expand Down