src/Exportable.php
private function transform()
    {
        $this->data->transform(function ($data) {
            return collect($data)->map(function ($value) {
                return is_int($value) || is_float($value) || is_null($value) ? (string) $value : $value;
            })->filter(function ($value) {
                return is_string($value);
            });
        });
    }
private function transform()
    {
        $this->data->transform(function ($data) {
            return collect($data)->map(function ($value) {
                return is_int($value) || is_float($value) || is_null($value) ? (string) $value : $value;
            })->filter(function ($value) {
                return is_string($value);
            });
        });
    }
private function transform ( ) { $ this -> data -> transform ( function ( $ data ) { return collect ( $ data ) -> map ( function ( $ value ) { return is_int ( $ value ) || is_float ( $ value ) || is_null ( $ value ) ? ( string ) $ value : $ value ; } ) -> filter ( function ( $ value ) { return is_string ( $ value ) ; } ) ; } ) ; }
Transform the collection.
Transform the collection .