diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-09-23 12:26:44 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-09-23 13:52:36 +0300 |
commit | 624f4687b38f28d932bfc824a3aa985c4fbe1c74 (patch) | |
tree | 9c164af50952cca3d14954fd8575b5be9342ec13 /lib/ISearch.php | |
parent | ed04b9f1cadfe9b33baf08367822891b7e3c7067 (diff) |
Fix static analysisupdate-master-version
- Port to OCP background jobs and use dependency injection
- And more stuff
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/ISearch.php')
-rw-r--r-- | lib/ISearch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ISearch.php b/lib/ISearch.php index 3300bbe5..e93ca21b 100644 --- a/lib/ISearch.php +++ b/lib/ISearch.php @@ -31,7 +31,7 @@ declare(strict_types=1); namespace OCA\Circles; -use OCA\Circles\Model\FederatedUser; +use OCA\Circles\Model\SearchResult; /** * Interface ISearch @@ -43,7 +43,7 @@ interface ISearch { /** * @param string $needle * - * @return FederatedUser[] + * @return list<SearchResult|IFederatedUser> */ public function search(string $needle): array; } |