Skip to content

Commit 3328573

Browse files
committed
test: fix cs
Signed-off-by: Jana Peper <[email protected]>
1 parent 2bf9185 commit 3328573

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/Controller/ConfigController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ public function oauthRedirect(string $code = '', string $state = ''): RedirectRe
356356
$this->config->deleteUserValue($this->userId, Application::APP_ID, 'oauth_origin');
357357
if ($oauthOrigin === 'settings') {
358358
return new RedirectResponse(
359-
$this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts']) .
360-
'?mattermostToken=success'
359+
$this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts'])
360+
. '?mattermostToken=success'
361361
);
362362
} elseif ($oauthOrigin === 'dashboard') {
363363
return new RedirectResponse(
@@ -384,8 +384,8 @@ public function oauthRedirect(string $code = '', string $state = ''): RedirectRe
384384
$result = $this->l->t('Error during OAuth exchanges');
385385
}
386386
return new RedirectResponse(
387-
$this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts']) .
388-
'?mattermostToken=error&message=' . urlencode($result)
387+
$this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'connected-accounts'])
388+
. '?mattermostToken=error&message=' . urlencode($result)
389389
);
390390
}
391391

lib/Search/MattermostSearchMessagesProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
use OCP\IL10N;
3434
use OCP\IURLGenerator;
3535
use OCP\IUser;
36-
use OCP\Search\IProvider;
3736
use OCP\Search\IExternalProvider;
37+
use OCP\Search\IProvider;
3838
use OCP\Search\ISearchQuery;
3939
use OCP\Search\SearchResult;
4040
use OCP\Search\SearchResultEntry;
@@ -178,7 +178,7 @@ protected function getThumbnailUrl(array $entry): string {
178178
: '';
179179
}
180180

181-
public function isExternalProvider(): bool {
182-
return True;
181+
public function isExternalProvider(): bool {
182+
return true;
183183
}
184184
}

0 commit comments

Comments
 (0)