This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
13
{
14
/**
15
* @var EntityManagerInterface
16
*/
17
private $entityManager;
18
19
/**
20
* @param EntityManagerInterface $entityManager
21
*/
22
public function __construct(EntityManagerInterface $entityManager)
23
{
24
$this->entityManager = $entityManager;
25
}
26
27
/**
28
* Executes the given command and optionally returns a value
The class Throwable does not exist. Is this class maybe located in a folder that is not analyzed, or in a newer version of your dependencies than listed in your composer.lock/composer.json?
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.