public function removeLocation(string $location)
    {
        $key = array_search($location, $this->paths);
        
        if ($key) {
            unset($this->paths[$key]);
        }
    }
public function removeLocation(string $location)
    {
        $key = array_search($location, $this->paths);
        
        if ($key) {
            unset($this->paths[$key]);
        }
    }
public function removeLocation ( string $ location ) { $ key = array_search ( $ location , $ this -> paths ) ; if ( $ key ) { unset ( $ this -> paths [ $ key ] ) ; } }
Remove a location from the finder.

@param  string  $location
Remove a location from the finder .