Passed
Push — master ( 947743...d36a5d )
by Hergen
14:15
created
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->hasHeader('If-Match'))) {
24
+        if (!($request->isMethod('PATCH') && $request->hasHeader('If-Match'))) {
25 25
             return $next($request);
26 26
         }
27 27
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
         $ifMatchArray = explode(',', $ifMatch);
45 45
 
46
-        foreach($ifMatchArray as &$match){
46
+        foreach ($ifMatchArray as &$match) {
47 47
             $match = trim($match);
48 48
         }
49 49
 
Please login to merge, or discard this patch.