src/Module/Acf.php
public function setDataReturnFormat()
    {
        if ($this->returnArrayFormat) {
            return;
        }

        if ($this->data) {
            foreach ($this->data as $key => $item) {
                $this->data[$key] = json_decode(json_encode($item));
            }
        }
    }
public function setDataReturnFormat()
    {
        if ($this->returnArrayFormat) {
            return;
        }

        if ($this->data) {
            foreach ($this->data as $key => $item) {
                $this->data[$key] = json_decode(json_encode($item));
            }
        }
    }
public function setDataReturnFormat ( ) { if ( $ this -> returnArrayFormat ) { return ; } if ( $ this -> data ) { foreach ( $ this -> data as $ key => $ item ) { $ this -> data [ $ key ] = json_decode ( json_encode ( $ item ) ) ; } } }
Set Data Return Format

Return object from array if acf/array filter is not set to true
Set Data Return Format