Test Failed
Branch master (a27be5)
by Hergen
05:45
created
Category
src/Middleware/IfMatch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Middleware/SetEtag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/EtagConditionalsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.