protected function prepareCurrentRow(): void
    {
        $this->currentRow = array_shift($this->bufferedRow);
        if (\is_array($this->currentRow)) {
            $datas = [];
            foreach ($this->currentRow as $key => $value) {
                if ($this->hasHeaders) {
                    $datas[$this->columns[$key]] = html_entity_decode($value);
                } else {
                    $datas[$key] = html_entity_decode($value);
                }
            }
            $this->currentRow = $datas;
        }
    }
protected function prepareCurrentRow(): void
    {
        $this->currentRow = array_shift($this->bufferedRow);
        if (\is_array($this->currentRow)) {
            $datas = [];
            foreach ($this->currentRow as $key => $value) {
                if ($this->hasHeaders) {
                    $datas[$this->columns[$key]] = html_entity_decode($value);
                } else {
                    $datas[$key] = html_entity_decode($value);
                }
            }
            $this->currentRow = $datas;
        }
    }
protected function prepareCurrentRow ( ) : void { $ this -> currentRow = array_shift ( $ this -> bufferedRow ) ; if ( \ is_array ( $ this -> currentRow ) ) { $ datas = [ ] ; foreach ( $ this -> currentRow as $ key => $ value ) { if ( $ this -> hasHeaders ) { $ datas [ $ this -> columns [ $ key ] ] = html_entity_decode ( $ value ) ; } else { $ datas [ $ key ] = html_entity_decode ( $ value ) ; } } $ this -> currentRow = $ datas ; } }
Prepare the row to return.
Prepare the row to return .