Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class CredentialsAwareTraitTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @var CredentialsAwareTrait |
||
12 | */ |
||
13 | private $trait; |
||
14 | |||
15 | public function testSetGetSubdomain() |
||
20 | } |
||
21 | |||
22 | public function testSetGetToken() |
||
23 | { |
||
24 | $token = 'test'; |
||
25 | $this->trait->setToken($token); |
||
26 | $this->assertSame($token, $this->trait->getToken()); |
||
27 | } |
||
28 | |||
29 | public function testSetGetPassword() |
||
34 | } |
||
35 | |||
36 | protected function setUp() |
||
39 | } |
||
40 | } |
||
41 |
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..