| 1 | <?php |
||
| 17 | final class EntityInteractionEventTest extends TestCase |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var EntityInteractionEvent |
||
| 22 | */ |
||
| 23 | private $event; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var stdClass |
||
| 27 | */ |
||
| 28 | private $entity; |
||
| 29 | |||
| 30 | public function setUp() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @test |
||
| 45 | */ |
||
| 46 | public function shouldHaveEntityClass() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @test |
||
| 53 | */ |
||
| 54 | public function shouldHaveEntityId() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @test |
||
| 61 | */ |
||
| 62 | public function shouldHaveEntity() |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @test |
||
| 69 | */ |
||
| 70 | public function shouldHaveMethod() |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @test |
||
| 77 | */ |
||
| 78 | public function shouldHaveArguments() |
||
| 82 | |||
| 83 | } |
||
| 84 |
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..