| 1 | <?php |
||
| 11 | class CreateUserHandlerTest extends \PHPUnit_Framework_TestCase |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var UserRepository |
||
| 15 | */ |
||
| 16 | private $userRepository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var UserRepositoryCollection |
||
| 20 | */ |
||
| 21 | private $userRepositoryCollection; |
||
| 22 | |||
| 23 | public function setUp() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Test if CreateUserHandler gets handled. |
||
| 31 | */ |
||
| 32 | public function testCreateUserGetsHandled() |
||
| 53 | } |
||
| 54 |
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..