| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
| 8 | class ResetTest extends StoreTestCase |
||
| 9 | { |
||
| 10 | public function setUp(): void |
||
| 11 | { |
||
| 12 | parent::setUp(); |
||
| 13 | |||
| 14 | /* @noinspection PhpUndefinedMethodInspection */ |
||
| 15 | Phake::when($this->store)->reset()->thenCallParent(); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function testResetSetsNounsToEmptyArray(): void |
||
| 27 | } |
||
| 28 | } |
||
| 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.