GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 75bdf9...8faa57 )
by joseph
83:56 queued 81:04
created

AbstractEntityFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace TemplateNamespace\Entity\Factories;
4
5
// phpcs:disable -- line length
6
use Doctrine\ORM\EntityManagerInterface;
7
use EdmondsCommerce\DoctrineStaticMeta\Entity as DSM;
8
9
// phpcs:enable
10
11
/**
12
 * @SuppressWarnings(PHPMD.NumberOfChildren)
13
 */
14
class AbstractEntityFactory
15
{
16
    /**
17
     * @var DSM\Factory\EntityFactory
18
     */
19
    protected $entityFactory;
20
21
    public function __construct(DSM\Factory\EntityFactory $entityFactory, EntityManagerInterface $entityManager)
22
    {
23
        $this->entityFactory = $entityFactory;
24
        $this->entityFactory->setEntityManager($entityManager);
25
    }
26
}
27