Skip to content

Commit

Permalink
fix psalm errors
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Feb 16, 2024
1 parent a421187 commit 67bfee8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Service/NotificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use OCA\TpAssistant\Db\MetaTask;
use OCP\IURLGenerator;
use OCP\Notification\IManager as INotificationManager;
use OCP\TextProcessing\Task as TextProcessingTask;
use OCP\TextToImage\Task as TextToImageTask;

class NotificationService {

Expand Down
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
<stubs>
<file name="tests/stubs/oc_core_command_base.php" />
<file name="tests/stubs/oc_hooks_emitter.php" />
<file name="tests/stubs/oc_transcription.php" />
</stubs>
</psalm>
13 changes: 13 additions & 0 deletions tests/stubs/oc_transcription.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace OC\SpeechToText {

use OCP\BackgroundJob\QueuedJob;

class TranscriptionJob extends QueuedJob
{
protected function run($argument)
{
}
}
}

0 comments on commit 67bfee8

Please sign in to comment.