Skip to content

Commit

Permalink
chore: green ci
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Jun 11, 2024
1 parent bfc0a46 commit 33082e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct(
parent::__construct($appName, $request);
$this->previewers = [
'url' => $urlPreviewer,
'screeenly' => $screeenlyPreviewer,
'screeenly' => $screeenlyPreviewer,
'screenshotmachine' => $screenshotMachinePreviewer,
'webshot' => $webshotPreviewer,
'pageres' => $pageresPreviewer,
Expand Down Expand Up @@ -73,7 +73,7 @@ public function getSetting(string $setting): JSONResponse {

/**
* @param string $previewer
* @return JSONResponse
* @return Http\Response
*/
#[Http\Attribute\NoCSRFRequired]
#[Http\Attribute\Route(Http\Attribute\Route::TYPE_FRONTPAGE, 'GET', '/admin/previewers/{previewer}')]

Check failure on line 79 in lib/Controller/AdminController.php

View workflow job for this annotation

GitHub Actions / Nextcloud v28.x

UndefinedAttributeClass

lib/Controller/AdminController.php:79:4: UndefinedAttributeClass: Attribute class OCP\AppFramework\Http\Attribute\Route does not exist (see https://psalm.dev/241)
Expand Down
8 changes: 0 additions & 8 deletions lib/Service/SettingsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,7 @@

namespace OCA\Bookmarks\Service;

use OCA\Recognize\BackgroundJobs\SchedulerJob;
use OCA\Recognize\Classifiers\Audio\MusicnnClassifier;
use OCA\Recognize\Classifiers\Images\ClusteringFaceClassifier;
use OCA\Recognize\Classifiers\Images\ImagenetClassifier;
use OCA\Recognize\Classifiers\Images\LandmarksClassifier;
use OCA\Recognize\Classifiers\Video\MovinetClassifier;
use OCA\Recognize\Exception\Exception;
use OCP\AppFramework\Services\IAppConfig;
use OCP\BackgroundJob\IJobList;

class SettingsService {
/** @var array<string,string> */
Expand Down

0 comments on commit 33082e2

Please sign in to comment.