src/Composer/Search/RepositorySearch.php
public function disableSearchType($searchType)
    {
        if (($key = array_search($searchType, $this->enabledSearchTypes)) !== false) {
            unset($this->enabledSearchTypes[$key]);
        }

        return $this;
    }
public function disableSearchType($searchType)
    {
        if (($key = array_search($searchType, $this->enabledSearchTypes)) !== false) {
            unset($this->enabledSearchTypes[$key]);
        }

        return $this;
    }
public function disableSearchType ( $ searchType ) { if ( ( $ key = array_search ( $ searchType , $ this -> enabledSearchTypes ) ) !== false ) { unset ( $ this -> enabledSearchTypes [ $ key ] ) ; } return $ this ; }
Disable a search type.

@param int $searchType The search type to disable.

@return $this
Disable a search type .