Browse Source

Correct import

imwald
Nuša Pukšič 3 months ago
parent
commit
fdd328a84b
  1. 2
      src/Command/CacheLatestArticlesCommand.php

2
src/Command/CacheLatestArticlesCommand.php

@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Command; namespace App\Command;
use FOS\ElasticaBundle\Finder\FinderInterface;
use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
@ -14,7 +15,6 @@ use Elastica\Query;
use Elastica\Collapse; use Elastica\Collapse;
use Elastica\Query\Terms; use Elastica\Query\Terms;
use Psr\Cache\CacheItemPoolInterface; use Psr\Cache\CacheItemPoolInterface;
use App\Search\FinderInterface;
use swentel\nostr\Key\Key; use swentel\nostr\Key\Key;
#[AsCommand(name: 'app:cache_latest_articles', description: 'Cache the latest articles list')] #[AsCommand(name: 'app:cache_latest_articles', description: 'Cache the latest articles list')]

Loading…
Cancel
Save