@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (! function_exists('_val')) { |
|
| 3 | +if (!function_exists('_val')) { |
|
| 4 | 4 | /** |
| 5 | 5 | * @param $value |
| 6 | 6 | * @param null $default |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $request->server->set('HTTPS', 'on'); |
| 28 | 28 | } |
| 29 | 29 | |
| 30 | - if (! $request->secure() && env('APP_ENV') === 'production') { |
|
| 30 | + if (!$request->secure() && env('APP_ENV') === 'production') { |
|
| 31 | 31 | return Redirect::secure($request->getRequestUri()); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | private function addCorsHeaders(Response $response) |
| 37 | 37 | { |
| 38 | - if (! $response->headers->has('Access-Control-Allow-Origin')) { |
|
| 38 | + if (!$response->headers->has('Access-Control-Allow-Origin')) { |
|
| 39 | 39 | $response = $response->header('Access-Control-Allow-Origin', '*') |
| 40 | 40 | ->header('Access-Control-Allow-Methods', 'GET, POST, PATCH, PUT, DELETE, OPTIONS'); |
| 41 | 41 | } |