summaryrefslogtreecommitdiffstats
path: root/lib/private/Search.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-17 17:16:50 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-17 17:46:57 +0200
commitd7f66c36acef9334e3c9ecf750cae5bfc2f206d8 (patch)
tree4896ad25898411bfd2268b188743bf6bf3d5fd31 /lib/private/Search.php
parent00cb8e6c54d8f2a26c5770fef5fe4ae1e366d0ce (diff)
downloadnextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.tar.gz
nextcloud-server-d7f66c36acef9334e3c9ecf750cae5bfc2f206d8.zip
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Search.php')
-rw-r--r--lib/private/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Search.php b/lib/private/Search.php
index ae22a6d9f19..9ecf34aef54 100644
--- a/lib/private/Search.php
+++ b/lib/private/Search.php
@@ -36,6 +36,7 @@ use OCP\Search\Provider;
* Provide an interface to all search providers
*/
class Search implements ISearch {
+ /** @var Provider[] */
private $providers = [];
private $registeredProviders = [];
@@ -51,7 +52,6 @@ class Search implements ISearch {
$this->initProviders();
$results = [];
foreach ($this->providers as $provider) {
- /** @var $provider Provider */
if (! $provider->providesResultsFor($inApps)) {
continue;
}