@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | public function handle(Request $request, Closure $next) |
22 | 22 | { |
23 | 23 | // Next unless method is PATCH and If-Match header is set |
24 | - if (! $request->isMethod('PATCH') || (! $request->isMethod('PATCH') && ! $request->hasHeader('If-Match'))) { |
|
24 | + if (!$request->isMethod('PATCH') || (!$request->isMethod('PATCH') && !$request->hasHeader('If-Match'))) { |
|
25 | 25 | return $next($request); |
26 | 26 | } |
27 | 27 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | // Check if response is object |
41 | - if (! is_object($response)) { |
|
41 | + if (!is_object($response)) { |
|
42 | 42 | $response = response($response); |
43 | 43 | } |
44 | 44 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function handle(Request $request, Closure $next) |
20 | 20 | { |
21 | - if (! $request->isMethod('HEAD') && ! $request->isMethod('GET')) { |
|
21 | + if (!$request->isMethod('HEAD') && !$request->isMethod('GET')) { |
|
22 | 22 | return $next($request); |
23 | 23 | } |
24 | 24 |
@@ -47,7 +47,7 @@ |
||
47 | 47 | $this->mergeConfigFrom(__DIR__.'/../config/etagconditionals.php', 'etagconditionals'); |
48 | 48 | |
49 | 49 | // Register the service the package provides. |
50 | - $this->app->singleton('etagconditionals', function ($app) { |
|
50 | + $this->app->singleton('etagconditionals', function($app) { |
|
51 | 51 | return new EtagConditionals; |
52 | 52 | }); |
53 | 53 | } |