upd: app-import-heidelberg

This commit is contained in:
2026-06-13 13:33:43 -04:00
parent e2eaa400a4
commit 1fd6fdc4b6
+2 -2
View File
@@ -5,9 +5,9 @@ namespace App\Command;
use App\Entity\Reference; use App\Entity\Reference;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Pdo\Sqlite;
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\InputArgument;
use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Console\Style\SymfonyStyle;
@@ -80,7 +80,7 @@ class ImportHeidelbergCommand extends Command
{ {
$files = glob($this->dir . "/*.md"); $files = glob($this->dir . "/*.md");
if (!$this->files || count($this->files) === 0) { if (!$files || count($files) === 0) {
$this->io->warning("No files found in this directory\n{$this->dir}"); $this->io->warning("No files found in this directory\n{$this->dir}");
$files = []; $files = [];
} }