1 | <?php |
||
14 | abstract class AbstractAssertion implements LoggerAware, TestCaseAware, WebDriverAware, AssertionInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var LoggerInterface |
||
18 | */ |
||
19 | |||
20 | protected $logger; |
||
21 | |||
22 | /** |
||
23 | * @var \PHPUnit_Framework_TestCase |
||
24 | */ |
||
25 | |||
26 | protected $testCase; |
||
27 | |||
28 | /** |
||
29 | * @var WebDriver |
||
30 | */ |
||
31 | |||
32 | protected $webDriver; |
||
33 | |||
34 | public function setWebDriver(WebDriver $webdriver) |
||
38 | |||
39 | public function setLogger(LoggerInterface $logger) |
||
43 | |||
44 | public function setTestCase(TestCase $testCase) |
||
48 | |||
49 | /** |
||
50 | * @return AbstractTestCase|\PHPUnit_Framework_TestCase |
||
51 | * @throws InvalidTestTypeException |
||
52 | */ |
||
53 | |||
54 | protected function getTestCase() |
||
61 | |||
62 | } |
||
63 |
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..