| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Unit\Chekote\NounStore\Key; |
||
| 26 | public function testNonNullIndexReturnsModifiedKey(): void |
||
| 27 | { |
||
| 28 | $key = 'Thing'; |
||
| 29 | $index = 18; |
||
| 30 | $nth = $index + 1; |
||
| 31 | |||
| 32 | /* @noinspection PhpUndefinedMethodInspection */ |
||
| 33 | Phake::expect($this->key, 1)->getOrdinal($nth)->thenReturn('th'); |
||
| 34 | |||
| 35 | $this->assertEquals('19th Thing', $this->key->build($key, $index)); |
||
| 36 | } |
||
| 55 |
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.