Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
16 | public function repository(string $repository): Repository |
||
17 | { |
||
18 | return $this->wait( |
||
19 | $this->handleCommand( |
||
20 | new BuildAsyncFromSyncCommand(self::HYDRATE_CLASS, $this) |
||
21 | )->then(function (AsyncUser $user) use ($repository) { |
||
22 | return $user->repository($repository); |
||
23 | }) |
||
24 | ); |
||
25 | } |
||
26 | } |
||
27 |
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.