| 1 | <?php |
||
| 13 | class ConstraintValidatorFactoryTest extends \PHPUnit_Framework_TestCase |
||
| 14 | { |
||
| 15 | /** @var ValidatorBuilder */ |
||
| 16 | protected $builder; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | protected function setUp() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | protected function tearDown() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @test |
||
| 36 | */ |
||
| 37 | public function testRegisterValidator() |
||
| 56 | } |
||
| 57 |
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..