ElencoSessioniForTipologiaRequest::getTipoCampo()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace BitPrepared\Bundle\FormazioneBundle\Domain\Service\QueryRequest;
4
5
use BitPrepared\Bundle\FormazioneBundle\Domain\Service\Request;
6
use BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo;
7
8
/**
9
 * No comment found on ddd model
10
 */
11
final class ElencoSessioniForTipologiaRequest extends Request
12
{
13
    /**
14
     * Tipologia di campo CFM/CFT/CCG/CAM
15
     *
16
     * @var BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo
17
     */
18
    private $tipoCampo;
19
20
    /**
21
     * costruttore
22
     */
23
    final public function __construct(TipologiaCampo $tipoCampo)
0 ignored issues
show
Coding Style introduced by
Unnecessary FINAL modifier in FINAL class
Loading history...
24
    {
25
        $this->tipoCampo = $tipoCampo;
0 ignored issues
show
Documentation Bug introduced by
It seems like $tipoCampo of type object<BitPrepared\Bundl...eObject\TipologiaCampo> is incompatible with the declared type object<BitPrepared\Bundl...eObject\TipologiaCampo> of property $tipoCampo.

Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.

Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..

Loading history...
26
    }
27
28
    /**
29
     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo
30
     */
31
    final public function getTipoCampo()
0 ignored issues
show
Coding Style introduced by
Unnecessary FINAL modifier in FINAL class
Loading history...
32
    {
33
        return $this->tipoCampo;
34
    }
35
}
36