| 1 | <?php |
||
| 11 | class DeprecationParser implements ParserChainElementInterface |
||
| 12 | { |
||
| 13 | /** @var TestResultHandlerInterface */ |
||
| 14 | private $testResultContainer; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * DeprecationParser constructor. |
||
| 18 | * @param TestResultContainerInterface $testResultContainer |
||
| 19 | */ |
||
| 20 | 32 | public function __construct(TestResultContainerInterface $testResultContainer) |
|
| 24 | |||
| 25 | 29 | public function handleLogItem(AbstractParaunitProcess $process, \stdClass $logItem) |
|
| 36 | |||
| 37 | 3 | private function createTestResult(AbstractParaunitProcess $process): TestResultWithMessage |
|
| 44 | } |
||
| 45 |
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..