src/Http/Response/OfficeResponse.php
public function getFormatter()
	{
		if ($this->formatter == 'auto')
		{
			$request = app('request');
			$of = $request->input('of', null);
			if (!in_array($of, ['csv', 'xls', 'xlsx']))
				$of = 'xlsx';
			return $of;
		}
		return $this->formatter;
	}
public function getFormatter()
	{
		if ($this->formatter == 'auto')
		{
			$request = app('request');
			$of = $request->input('of', null);
			if (!in_array($of, ['csv', 'xls', 'xlsx']))
				$of = 'xlsx';
			return $of;
		}
		return $this->formatter;
	}
protected $type = 'office';