@@ -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 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | public function handle(Request $request, Closure $next) |
23 | 23 | { |
24 | 24 | // Next unless method is PATCH and If-Match header is set |
25 | - if (! ($request->isMethod('PATCH') && $request->hasHeader('If-Match'))) { |
|
25 | + if (!($request->isMethod('PATCH') && $request->hasHeader('If-Match'))) { |
|
26 | 26 | return $next($request); |
27 | 27 | } |
28 | 28 |