src/LevenshteinDistance.php
private function removeCopyProgresses(array $progresses): array
    {
        foreach ($progresses as $step => $progress) {
            if ($progress[0] === self::OP_CPY) {
                unset($progresses[$step]);
            }
        }

        // resort keys
        return \array_values($progresses);
    }
private function removeCopyProgresses(array $progresses): array
    {
        foreach ($progresses as $step => $progress) {
            if ($progress[0] === self::OP_CPY) {
                unset($progresses[$step]);
            }
        }

        // resort keys
        return \array_values($progresses);
    }
private function removeCopyProgresses ( array $ progresses ) : array { foreach ( $ progresses as $ step => $ progress ) { if ( $ progress [ 0 ] === self :: OP_CPY ) { unset ( $ progresses [ $ step ] ) ; } } // resort keys return \ array_values ( $ progresses ) ; }
Remove "COPY" progresses.

@param array $progresses the progresses

@return array
Remove COPY progresses .