@@ -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 | * |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function view($view, $data = [], $status = 200, array $headers = []) |
33 | 33 | { |
34 | - respondWith(response()->view($view, $data, $status, $headers )); |
|
34 | + respondWith(response()->view($view, $data, $status, $headers)); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | */ |
87 | 87 | public function streamDownload($callback, $name = null, array $headers = [], $disposition = 'attachment') |
88 | 88 | { |
89 | - respondWith(response()->streamDownload($callback, $name, $headers, $disposition )); |
|
89 | + respondWith(response()->streamDownload($callback, $name, $headers, $disposition)); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | */ |
101 | 101 | public function download($file, $name = null, array $headers = [], $disposition = 'attachment') |
102 | 102 | { |
103 | - respondWith(response()->download($file, $name, $headers, $disposition )); |
|
103 | + respondWith(response()->download($file, $name, $headers, $disposition)); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public function redirectToAction($action, $parameters = [], $status = 302, $headers = []) |
144 | 144 | { |
145 | - respondWith(response()->redirectToAction($action, $parameters, $status, $headers )); |
|
145 | + respondWith(response()->redirectToAction($action, $parameters, $status, $headers)); |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | /** |
@@ -170,6 +170,6 @@ discard block |
||
170 | 170 | */ |
171 | 171 | public function redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null) |
172 | 172 | { |
173 | - respondWith(response()->redirectToIntended($default, $status, $headers, $secure )); |
|
173 | + respondWith(response()->redirectToIntended($default, $status, $headers, $secure)); |
|
174 | 174 | } |
175 | 175 | } |
176 | 176 | \ No newline at end of file |