Completed
Pull Request — master (#416)
by
unknown
01:43
created
src/Tools/ResponseStrategies/ResponseFileStrategy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     protected function getFileResponse(array $tags)
33 33
     {
34
-        $responseFileTags = array_filter($tags, function ($tag) {
34
+        $responseFileTags = array_filter($tags, function($tag) {
35 35
             return $tag instanceof Tag && strtolower($tag->getName()) === 'responsefile';
36 36
         });
37 37
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
             return;
40 40
         }
41 41
 
42
-        return array_map(function ($responseFileTag) {
42
+        return array_map(function($responseFileTag) {
43 43
             preg_match('/^(\d{3})?\s?([\s\S]*)$/', $responseFileTag->getContent(), $result);
44 44
 
45 45
             $status = $result[1] ?: 200;
Please login to merge, or discard this patch.