Completed
Push — master ( 24cd54...402553 )
by Billie
02:14
created
src/Fitbug/Guzzle/SwaggerValidation/SwaggerSchemaValidationHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     /**
72 72
      * @param callable $handler
73 73
      *
74
-     * @return callable
74
+     * @return \Closure
75 75
      */
76 76
     public function __invoke(callable $handler)
77 77
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,14 +75,14 @@
 block discarded – undo
75 75
      */
76 76
     public function __invoke(callable $handler)
77 77
     {
78
-        return function (
78
+        return function(
79 79
             RequestInterface $request,
80 80
             array $options
81 81
         ) use ($handler) {
82 82
             $promise = $handler($request, $options);
83 83
 
84 84
             return $promise->then(
85
-                function (ResponseInterface $response) use ($request) {
85
+                function(ResponseInterface $response) use ($request) {
86 86
                     if (!$this->skip) {
87 87
                         // This needs to be done every time as it modifies itself during the validation
88 88
                         // meaning the second request will fail.
Please login to merge, or discard this patch.
src/Fitbug/Guzzle/SwaggerValidation/AbstractPsr7MesssagePrinter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 
18 18
         foreach ($message->getHeaders() as $name => $values) {
19 19
             foreach ($values as $value) {
20
-                $string .= $name.': '.$value."\n";
20
+                $string .= $name . ': ' . $value . "\n";
21 21
             }
22 22
         }
23 23
 
Please login to merge, or discard this patch.