aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Search/SearchComposer.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Search/SearchComposer.php')
-rw-r--r--lib/private/Search/SearchComposer.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Search/SearchComposer.php b/lib/private/Search/SearchComposer.php
index 8108c6bcde4..d23662f7055 100644
--- a/lib/private/Search/SearchComposer.php
+++ b/lib/private/Search/SearchComposer.php
@@ -59,7 +59,7 @@ class SearchComposer {
private Coordinator $bootstrapCoordinator,
private ContainerInterface $container,
private IURLGenerator $urlGenerator,
- private LoggerInterface $logger
+ private LoggerInterface $logger,
) {
$this->commonFilters = [
IFilter::BUILTIN_TERM => new FilterDefinition(IFilter::BUILTIN_TERM, FilterDefinition::TYPE_STRING),
@@ -130,7 +130,7 @@ class SearchComposer {
}
foreach ($provider->getSupportedFilters() as $filterName) {
if ($this->getFilterDefinition($filterName, $providerId) === null) {
- throw new InvalidArgumentException('Invalid filter '. $filterName);
+ throw new InvalidArgumentException('Invalid filter ' . $filterName);
}
}
}
@@ -202,10 +202,10 @@ class SearchComposer {
private function fetchIcon(string $appId, string $providerId): string {
$icons = [
- [$providerId, $providerId.'.svg'],
+ [$providerId, $providerId . '.svg'],
[$providerId, 'app.svg'],
- [$appId, $providerId.'.svg'],
- [$appId, $appId.'.svg'],
+ [$appId, $providerId . '.svg'],
+ [$appId, $appId . '.svg'],
[$appId, 'app.svg'],
['core', 'places/default-app-icon.svg'],
];