Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Search/GlobalScaleUsers.php')
-rw-r--r--lib/Search/GlobalScaleUsers.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Search/GlobalScaleUsers.php b/lib/Search/GlobalScaleUsers.php
index f05f6945..7e882f60 100644
--- a/lib/Search/GlobalScaleUsers.php
+++ b/lib/Search/GlobalScaleUsers.php
@@ -70,7 +70,7 @@ class GlobalScaleUsers implements ISearch {
/**
* {@inheritdoc}
*/
- public function search(string $search): array {
+ public function search(string $needle): array {
/** @var string $lookup */
try {
@@ -82,7 +82,7 @@ class GlobalScaleUsers implements ISearch {
$request = new NCRequest(ConfigService::GS_LOOKUP_USERS, Request::TYPE_GET);
$this->configService->configureRequest($request);
$request->basedOnUrl($lookup);
- $request->addParam('search', $search);
+ $request->addParam('search', $needle);
try {
$users = $this->retrieveJson($request);