Failed Conditions
Push — master ( fa7802...d60694 )
by Guilherme
09:27
created

AssociationValueGeneratorExecutor::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 2
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ORM\Sequencing\Executor;
6
7
use Doctrine\ORM\EntityManagerInterface;
8
9
final class AssociationValueGeneratorExecutor implements ValueGenerationExecutor
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14 77
    public function execute(EntityManagerInterface $entityManager, object $entity) : array
15
    {
16
        // value set by inverse side
17 77
        return [];
18
    }
19
20 77
    public function isDeferred() : bool
21
    {
22 77
        return true;
23
    }
24
}
25