Skip to content

Commit

Permalink
style(PHP): satisfy php-cs
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Sep 25, 2024
1 parent 2e9b5c6 commit 488a6bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/Notification/AppHint.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ protected function sendNotification(string $app, string $user): void {
public function dismissNotification(string $app) {
$notification = $this->notificationManager->createNotification();
$notification->setApp('firstrunwizard')
->setSubject('apphint-'. $app)
->setSubject('apphint-' . $app)
->setObject('app', $app);
$this->notificationManager->markProcessed($notification);
}

protected function generateNotification(string $app, string $user) {
$notification = $this->notificationManager->createNotification();
$notification->setApp('firstrunwizard')
->setSubject('apphint-'. $app)
->setSubject('apphint-' . $app)
->setObject('app', $app)
->setUser($user);
return $notification;
Expand Down
2 changes: 1 addition & 1 deletion lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ protected function setAppHintDetails(INotification $notification, $languageCode,
}
$notification
->setLink($this->url->linkToRouteAbsolute('settings.AppSettings.viewApps') . $appLink)
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'apps/'. $app . '.svg')));
->setIcon($this->url->getAbsoluteURL($this->url->imagePath('firstrunwizard', 'apps/' . $app . '.svg')));
return $notification;
}
}
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
define('PHPUNIT_RUN', 1);
}

require_once __DIR__.'/../../../lib/base.php';
require_once __DIR__ . '/../../../lib/base.php';

// Fix for "Autoload path not allowed: .../tests/lib/testcase.php"
\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests');
Expand Down

0 comments on commit 488a6bb

Please sign in to comment.