Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
26 | 4 | public function __construct(string $vatId, string $premiseId, string $cashRegisterId, EvidenceEnvironment $evidenceEnvironment, bool $verificationMode = false) |
|
27 | { |
||
28 | 4 | $this->vatId = $vatId; |
|
29 | 4 | $this->premiseId = $premiseId; |
|
30 | 4 | $this->cashRegisterId = $cashRegisterId; |
|
31 | 4 | $this->evidenceMode = EvidenceMode::get(EvidenceMode::REGULAR); |
|
|
|||
32 | 4 | $this->verificationMode = $verificationMode; |
|
33 | 4 | $this->evidenceEnvironment = $evidenceEnvironment; |
|
34 | 4 | } |
|
35 | |||
67 |
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..