| Total Complexity | 6 | 
| Total Lines | 43 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 13 | class CachedSearchService implements SingletonInterface  | 
            ||
| 14 | { | 
            ||
| 15 | /**  | 
            ||
| 16 | * @var array  | 
            ||
| 17 | */  | 
            ||
| 18 | protected $results = [];  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @var SearchService  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $searchService;  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @param SearchService $searchService  | 
            ||
| 27 | */  | 
            ||
| 28 | public function __construct(SearchService $searchService)  | 
            ||
| 29 |     { | 
            ||
| 30 | $this->searchService = $searchService;  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @param SearchRequestInterface $searchRequest  | 
            ||
| 35 | * @return SearchResultInterface  | 
            ||
| 36 | */  | 
            ||
| 37 | public function search(SearchRequestInterface $searchRequest): SearchResultInterface  | 
            ||
| 44 | }  | 
            ||
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * @param SearchRequestInterface $searchRequest  | 
            ||
| 48 | * @return string  | 
            ||
| 49 | */  | 
            ||
| 50 | protected function getHash(SearchRequestInterface $searchRequest): string  | 
            ||
| 58 | 
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.