Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
18 | public function testSetOnceStoresValue(): void |
||
19 | { |
||
20 | $key = 'My Key'; |
||
21 | $value = 'My Value'; |
||
22 | |||
23 | $this->store->set($key, $value); |
||
24 | |||
25 | $store = Phake::makeVisible($this->store); |
||
26 | /* @noinspection PhpUndefinedFieldInspection */ |
||
27 | { |
||
28 | $this->assertCount(1, $store->nouns[$key]); |
||
29 | $this->assertEquals($value, $store->nouns[$key][0]); |
||
30 | } |
||
54 |
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.