Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
18 | public function testResetSetsNounsToEmptyArray(): void |
||
19 | { |
||
20 | $this->store->reset(); |
||
21 | |||
22 | $store = Phake::makeVisible($this->store); |
||
23 | /* @noinspection PhpUndefinedFieldInspection */ |
||
24 | { |
||
25 | $this->assertEquals('array', gettype($store->nouns)); |
||
26 | $this->assertCount(0, $store->nouns); |
||
27 | } |
||
30 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.