summaryrefslogtreecommitdiffstats
path: root/lib/private/Search.php
diff options
context:
space:
mode:
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;
}