Преглед на файлове

Document all getIncomplete implementations as returning string|false

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Côme Chilliet преди 2 години
родител
ревизия
7ae6791737
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      lib/private/Files/Cache/Wrapper/CacheJail.php
  2. 1 1
      lib/private/Files/Cache/Wrapper/CacheWrapper.php
  3. 1 1
      lib/public/Files/Cache/ICache.php

+ 1 - 1
lib/private/Files/Cache/Wrapper/CacheJail.php

@@ -267,7 +267,7 @@ class CacheJail extends CacheWrapper {
 	 * use the one with the highest id gives the best result with the background scanner, since that is most
 	 * 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
 	 * 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() {
 	public function getIncomplete() {
 		// not supported
 		// not supported

+ 1 - 1
lib/private/Files/Cache/Wrapper/CacheWrapper.php

@@ -267,7 +267,7 @@ class CacheWrapper extends Cache {
 	 * use the one with the highest id gives the best result with the background scanner, since that is most
 	 * 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
 	 * 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() {
 	public function getIncomplete() {
 		return $this->getCache()->getIncomplete();
 		return $this->getCache()->getIncomplete();

+ 1 - 1
lib/public/Files/Cache/ICache.php

@@ -243,7 +243,7 @@ interface ICache {
 	 * use the one with the highest id gives the best result with the background scanner, since that is most
 	 * 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
 	 * 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
 	 * @since 9.0.0
 	 */
 	 */
 	public function getIncomplete();
 	public function getIncomplete();