protected function parseAddresses($value)
    {
        return collect($value)->map(function ($address, $name) {
            return [$address, is_numeric($name) ? null : $name];
        })->values()->all();
    }
protected function parseAddresses($value)
    {
        return collect($value)->map(function ($address, $name) {
            return [$address, is_numeric($name) ? null : $name];
        })->values()->all();
    }
protected function parseAddresses ( $ value ) { return collect ( $ value ) -> map ( function ( $ address , $ name ) { return [ $ address , is_numeric ( $ name ) ? null : $ name ] ; } ) -> values ( ) -> all ( ) ; }
Parse the multi-address array into the necessary format.

@param  array  $value
@return array
Parse the multi - address array into the necessary format .