lib/Doctrine/DBAL/Schema/Index.php
private function samePartialIndex(Index $other)
    {
        if ($this->hasOption('where') && $other->hasOption('where') && $this->getOption('where') === $other->getOption('where')) {
            return true;
        }

        return ! $this->hasOption('where') && ! $other->hasOption('where');
    }
private function samePartialIndex(Index $other)
    {
        if ($this->hasOption('where') && $other->hasOption('where') && $this->getOption('where') === $other->getOption('where')) {
            return true;
        }

        return ! $this->hasOption('where') && ! $other->hasOption('where');
    }
private function samePartialIndex ( Index $ other ) { if ( $ this -> hasOption ( 'where' ) && $ other -> hasOption ( 'where' ) && $ this -> getOption ( 'where' ) === $ other -> getOption ( 'where' ) ) { return true ; } return ! $ this -> hasOption ( 'where' ) && ! $ other -> hasOption ( 'where' ) ; }
Return whether the two indexes have the same partial index

@return bool
Return whether the two indexes have the same partial index