1 | <?php |
||
13 | abstract class AbstractCommandTest extends \PHPUnit_Framework_TestCase |
||
14 | { |
||
15 | /** |
||
16 | * The test subject |
||
17 | * |
||
18 | * @var LookupCommand |
||
19 | */ |
||
20 | protected $command; |
||
21 | |||
22 | /** |
||
23 | * Add the command |
||
24 | */ |
||
25 | public function setUp() |
||
29 | |||
30 | /** |
||
31 | * Provide the command name to test, e.g. "object:lookup" |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | abstract public function getTestCommand(); |
||
36 | } |
||
37 |
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..