@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if (! function_exists('sendAndTerminate')) { |
|
| 2 | +if (!function_exists('sendAndTerminate')) { |
|
| 3 | 3 | /** |
| 4 | 4 | * Get the path to the resources folder. |
| 5 | 5 | * |
@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | -if (! function_exists('respondWith')) { |
|
| 15 | +if (!function_exists('respondWith')) { |
|
| 16 | 16 | /** |
| 17 | 17 | * Get the path to the resources folder. |
| 18 | 18 | * |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function view($view, $data = [], $status = 200, array $headers = []) |
| 44 | 44 | { |
| 45 | - respondWith(response()->view($view, $data, $status, $headers )); |
|
| 45 | + respondWith(response()->view($view, $data, $status, $headers)); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | public function streamDownload($callback, $name = null, array $headers = [], $disposition = 'attachment') |
| 100 | 100 | { |
| 101 | - respondWith(response()->streamDownload($callback, $name, $headers, $disposition )); |
|
| 101 | + respondWith(response()->streamDownload($callback, $name, $headers, $disposition)); |
|
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | /** |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | */ |
| 113 | 113 | public function download($file, $name = null, array $headers = [], $disposition = 'attachment') |
| 114 | 114 | { |
| 115 | - respondWith(response()->download($file, $name, $headers, $disposition )); |
|
| 115 | + respondWith(response()->download($file, $name, $headers, $disposition)); |
|
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |