| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class FacadeTest extends \Codeception\Test\Unit |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var \Xervice\Twig\TwigFacade |
||
| 10 | */ |
||
| 11 | protected $facade; |
||
| 12 | |||
| 13 | protected function _before() |
||
| 14 | { |
||
| 15 | $this->facade = Locator::getInstance()->twig()->facade(); |
||
|
|
|||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @group Xervice |
||
| 20 | * @group Twig |
||
| 21 | * @group Facade |
||
| 22 | * @group Integration |
||
| 23 | */ |
||
| 24 | public function testSomeMethod() |
||
| 26 | // todo |
||
| 27 | } |
||
| 28 | } |
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..