1 | <?php |
||
10 | class TbAlertTest extends PHPUnit_Framework_TestCase { |
||
11 | |||
12 | private function makeWidget() { |
||
13 | |||
14 | return new TbAlert(); |
||
15 | } |
||
16 | |||
17 | /** |
||
18 | * @test |
||
19 | */ |
||
20 | public function onInitWhenNoExplicitIdSetDefault() |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | */ |
||
32 | public function onInitWhenAlertsStringMakeArray() { |
||
41 | |||
42 | /** |
||
43 | * @test |
||
44 | */ |
||
45 | public function onInitWhenNoAlertsSetAllDefined() { |
||
60 | } |
||
61 |
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..