mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
replace more doctrine shortcuts by fqdn
This commit is contained in:
@@ -11,6 +11,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Command;
|
||||
|
||||
use Chill\MainBundle\Entity\Language;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Symfony\Component\Console\Command\Command;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
@@ -113,7 +114,7 @@ class LoadAndUpdateLanguagesCommand extends Command
|
||||
)
|
||||
);
|
||||
|
||||
$langageDB = $em->getRepository('ChillMainBundle:Language')->find($code);
|
||||
$langageDB = $em->getRepository(Language::class)->find($code);
|
||||
|
||||
if (!$excludeCode) {
|
||||
if (!$langageDB) {
|
||||
|
Reference in New Issue
Block a user