private function checkRowConsistency($row)
    {
        if ( $this->strict === false ) {
            return;
        }

        $current = count($row);

        if ( $this->rowConsistency === null ) {
            $this->rowConsistency = $current;
        }

        if ( $current !== $this->rowConsistency ) {
            throw new StrictViolationException();
        }

        $this->rowConsistency = $current;
    }
private function checkRowConsistency($row)
    {
        if ( $this->strict === false ) {
            return;
        }

        $current = count($row);

        if ( $this->rowConsistency === null ) {
            $this->rowConsistency = $current;
        }

        if ( $current !== $this->rowConsistency ) {
            throw new StrictViolationException();
        }

        $this->rowConsistency = $current;
    }
private function checkRowConsistency ( $ row ) { if ( $ this -> strict === false ) { return ; } $ current = count ( $ row ) ; if ( $ this -> rowConsistency === null ) { $ this -> rowConsistency = $ current ; } if ( $ current !== $ this -> rowConsistency ) { throw new StrictViolationException ( ) ; } $ this -> rowConsistency = $ current ; }
Check if the column count is consistent with comparing other rows
@param array|\Countable $row
@throws Exception\StrictViolationException
Check if the column count is consistent with comparing other rows