diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2023-11-07 12:43:01 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2023-11-07 12:43:08 -0100 |
commit | f497d8b6e5a42635ec181dfeda404862ee4c8e3d (patch) | |
tree | e6cd926b6f7ab4d9762f0312ad8962c78aaf1309 /lib/public/Files | |
parent | e62e9e3dbf1a2573554b1a9eabbf5b59b652dae6 (diff) | |
download | nextcloud-server-f497d8b6e5a42635ec181dfeda404862ee4c8e3d.tar.gz nextcloud-server-f497d8b6e5a42635ec181dfeda404862ee4c8e3d.zip |
IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Search/ISearchComparison.php | 15 | ||||
-rw-r--r-- | lib/public/Files/Search/ISearchOrder.php | 9 |
2 files changed, 3 insertions, 21 deletions
diff --git a/lib/public/Files/Search/ISearchComparison.php b/lib/public/Files/Search/ISearchComparison.php index 068a7e4c699..68924d1e369 100644 --- a/lib/public/Files/Search/ISearchComparison.php +++ b/lib/public/Files/Search/ISearchComparison.php @@ -44,7 +44,7 @@ interface ISearchComparison extends ISearchOperator { * @return string * @since 12.0.0 */ - public function getType(); + public function getType(): string; /** * Get the name of the field to compare with @@ -54,8 +54,7 @@ interface ISearchComparison extends ISearchOperator { * @return string * @since 12.0.0 */ - public function getField(); - + public function getField(): string; /** * extra means data are not related to the main files table @@ -66,18 +65,10 @@ interface ISearchComparison extends ISearchOperator { public function getExtra(): string; /** - * returns if data are 'extra' or not - * - * @return bool - * @since 28.0.0 - */ - public function isExtra(): bool; - - /** * Get the value to compare the field with * * @return string|integer|\DateTime * @since 12.0.0 */ - public function getValue(); + public function getValue(): string|int|\DateTime; } diff --git a/lib/public/Files/Search/ISearchOrder.php b/lib/public/Files/Search/ISearchOrder.php index bcb927e73db..5b73e7b102c 100644 --- a/lib/public/Files/Search/ISearchOrder.php +++ b/lib/public/Files/Search/ISearchOrder.php @@ -58,15 +58,6 @@ interface ISearchOrder { public function getExtra(): string; /** - * returns if data are 'extra' or not - * - * @return bool - * @since 28.0.0 - */ - public function isExtra(): bool; - - - /** * Apply the sorting on 2 FileInfo objects * * @param FileInfo $a |