| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | class WorkspaceRepository extends Repository |
||
| 29 | { |
||
| 30 | public ?QuerySettingsInterface $querySettings = null; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param QuerySettingsInterface $querySettings |
||
| 34 | */ |
||
| 35 | public function injectQuerySettings(QuerySettingsInterface $querySettings): void |
||
| 36 | { |
||
| 37 | $this->querySettings = $querySettings; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Initializes the repository. |
||
| 42 | */ |
||
| 43 | public function initializeObject(): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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.