| Total Complexity | 5 | 
| Total Lines | 56 | 
| Duplicated Lines | 0 % | 
| Coverage | 71.43% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | final class TicketType  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @var string  | 
            ||
| 17 |      * @Jms\Type("string") | 
            ||
| 18 | * @ORM\Column(type="string")  | 
            ||
| 19 | */  | 
            ||
| 20 | private $identifier;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @var Money  | 
            ||
| 24 | * @ORM\Embedded(class="ConferenceTools\Tickets\Domain\ValueObject\Price")  | 
            ||
| 25 |      * @Jms\Type("ConferenceTools\Tickets\Domain\ValueObject\Price") | 
            ||
| 26 | */  | 
            ||
| 27 | private $price;  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @var string  | 
            ||
| 31 |      * @Jms\Type("string") | 
            ||
| 32 | * @ORM\Column(type="string")  | 
            ||
| 33 | */  | 
            ||
| 34 | private $displayName;  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @var string  | 
            ||
| 38 |      * @Jms\Type("string") | 
            ||
| 39 | * @ORM\Column(type="string")  | 
            ||
| 40 | */  | 
            ||
| 41 | private $description;  | 
            ||
| 42 | |||
| 43 | 11 | public function __construct(string $identifier, Price $price, string $displayName, string $description = '')  | 
            |
| 49 | 11 | }  | 
            |
| 50 | |||
| 51 | 5 | public function getIdentifier(): string  | 
            |
| 52 |     { | 
            ||
| 53 | 5 | return $this->identifier;  | 
            |
| 54 | }  | 
            ||
| 55 | |||
| 56 | 13 | public function getPrice(): Price  | 
            |
| 57 |     { | 
            ||
| 58 | 13 | return $this->price;  | 
            |
| 59 | }  | 
            ||
| 60 | |||
| 61 | public function getDisplayName(): string  | 
            ||
| 64 | }  | 
            ||
| 65 | |||
| 66 | public function getDescription(): string  | 
            ||
| 69 | }  | 
            ||
| 70 | }  | 
            
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..