Passed
Pull Request — master (#261)
by Christopher
03:34
created
src/POData/HttpProcessUtility.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@
 block discarded – undo
37 37
         }
38 38
 
39 39
         $acceptTypes = self::mimeTypesFromAcceptHeaders($acceptTypesText);
40
-        if(empty($acceptTypes)){
40
+        if(empty($acceptTypes)) {
41 41
             return $inexactContentType;
42 42
         }
43
-        $exactMatchs = array_uintersect($acceptTypes, $exactContentTypes, function(MediaType $acceptType, $exactType){
43
+        $exactMatchs = array_uintersect($acceptTypes, $exactContentTypes, function(MediaType $acceptType, $exactType) {
44 44
             return strcasecmp($acceptType->getMimeType(), $exactType) && 0 !== $acceptType->getQualityValue();
45 45
         });
46
-        if(count($exactMatchs)!== 0){
46
+        if(count($exactMatchs)!== 0) {
47 47
             return $exactMatchs[0]->getMimeType();
48 48
         }
49 49
 
Please login to merge, or discard this patch.