refactor: Run rector

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin
2025-09-27 18:35:17 +02:00
parent c5c3b6555f
commit 6a12fbc4f3
13 changed files with 25 additions and 27 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
declare(strict_types=1);
use OCP\IConfig;
use OCP\IURLGenerator;
use OCP\Server;
/**
@@ -100,7 +101,7 @@ try {
$profile->setUrl(implode(' ', $argv));
$profiler->saveProfile($profile);
$urlGenerator = Server::get(\OCP\IURLGenerator::class);
$urlGenerator = Server::get(IURLGenerator::class);
$url = $urlGenerator->linkToRouteAbsolute('profiler.main.profiler', [
'profiler' => 'db',
'token' => $profile->getToken(),