Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/Command/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
use OCA\FullTextSearch\Service\ProviderService;
use OCA\FullTextSearch\Service\RunningService;
use OCA\FullTextSearch\Service\TestService;
use OCP\AppFramework\QueryException;
use OCP\FullTextSearch\IFullTextSearchPlatform;
use OCP\FullTextSearch\IFullTextSearchProvider;
use OCP\FullTextSearch\Model\IDocumentAccess;
use Psr\Container\ContainerExceptionInterface;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
Expand Down Expand Up @@ -118,7 +118,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
/**
* @return IFullTextSearchProvider
* @throws ProviderIsNotCompatibleException
* @throws QueryException
* @throws ContainerExceptionInterface
* @throws ProviderDoesNotExistException
* @throws ProviderIsNotUniqueException
*/
Expand Down Expand Up @@ -181,7 +181,7 @@ private function convertBoolToLine(bool $result, bool &$isNewLine): string {
* @throws ProviderDoesNotExistException
* @throws ProviderIsNotCompatibleException
* @throws ProviderIsNotUniqueException
* @throws QueryException
* @throws ContainerExceptionInterface
*/
private function testCreatingProvider(OutputInterface $output): IFullTextSearchProvider {
$this->output($output, 'Creating mocked content provider.');
Expand Down
4 changes: 2 additions & 2 deletions lib/Cron/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
use OCA\FullTextSearch\Service\PlatformService;
use OCA\FullTextSearch\Service\ProviderService;
use OCA\FullTextSearch\Service\RunningService;
use OCP\AppFramework\QueryException;
use OCP\AppFramework\Services\IAppConfig;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\TimedJob;
use Psr\Container\ContainerExceptionInterface;
use Psr\Log\LoggerInterface;
use Throwable;

Expand All @@ -49,7 +49,7 @@ public function __construct(
/**
* @param mixed $argument
*
* @throws QueryException
* @throws ContainerExceptionInterface
*/
protected function run($argument) {
$this->runner = new Runner($this->runningService, 'cronIndex');
Expand Down
Loading