Completed
Push — master ( 3127a8...bb439e )
by Patrick
27:03 queued 12:04
created
src/HttpClient/Plugin/ErrorPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         $promise = $next($request);
52 52
 
53
-        return $promise->then(function (ResponseInterface $response) use ($request) {
53
+        return $promise->then(function(ResponseInterface $response) use ($request) {
54 54
             return $this->transformResponseToException($request, $response);
55 55
         });
56 56
     }
Please login to merge, or discard this patch.
src/Api/Endpoint/MediaFileEndpointTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
             }
20 20
 
21 21
             return [
22
-                ['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""')]],
22
+                ['Content-Type' => ['multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""')]],
23 23
                 $bodyBuilder->build()
24 24
             ];
25 25
         }
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PatchMediaFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             foreach ($formParameters as $key => $value) {
34 34
                 $bodyBuilder->addResource($key, $value);
35 35
             }
36
-            return array(array('Content-Type' => array('multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""'))), $bodyBuilder->build());
36
+            return array(array('Content-Type' => array('multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""'))), $bodyBuilder->build());
37 37
         }
38 38
         return array(array(), null);
39 39
     }
Please login to merge, or discard this patch.
src/Api/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     {
45 45
         if (!$requestBody instanceof MediaFileUploadModel) {
46 46
             throw new \LogicException(
47
-                'you need to pass an object of type ' . MediaFileUploadModel::class
47
+                'you need to pass an object of type '.MediaFileUploadModel::class
48 48
             );
49 49
         }
50 50
     }
Please login to merge, or discard this patch.
src/HttpClient/Plugin/RetryAuthenticationPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $promise = $next($request);
34 34
 
35
-        return $promise->then(function (ResponseInterface $response) use ($request, $first) {
35
+        return $promise->then(function(ResponseInterface $response) use ($request, $first) {
36 36
             $statusCode = $response->getStatusCode();
37 37
             $content = \json_decode($response->getBody()->__toString(), true);
38 38
 
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/PutMediaFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             foreach ($formParameters as $key => $value) {
34 34
                 $bodyBuilder->addResource($key, $value);
35 35
             }
36
-            return array(array('Content-Type' => array('multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""'))), $bodyBuilder->build());
36
+            return array(array('Content-Type' => array('multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""'))), $bodyBuilder->build());
37 37
         }
38 38
         return array(array(), null);
39 39
     }
Please login to merge, or discard this patch.
src/Api/Generated/Endpoint/CreateMediaFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             foreach ($formParameters as $key => $value) {
34 34
                 $bodyBuilder->addResource($key, $value);
35 35
             }
36
-            return array(array('Content-Type' => array('multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '""'))), $bodyBuilder->build());
36
+            return array(array('Content-Type' => array('multipart/form-data; boundary="'.($bodyBuilder->getBoundary().'""'))), $bodyBuilder->build());
37 37
         }
38 38
         return array(array(), null);
39 39
     }
Please login to merge, or discard this patch.
src/HttpClient/Plugin/AddPathPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         $prepend = $this->uri->getPath();
49 49
         $path = $request->getUri()->getPath();
50 50
         if (0 !== strpos($path, $prepend)) {
51
-            $request = $request->withUri($request->getUri()->withPath($prepend . $path));
51
+            $request = $request->withUri($request->getUri()->withPath($prepend.$path));
52 52
         }
53 53
 
54 54
         return $next($request);
Please login to merge, or discard this patch.
src/HttpClient/Plugin/BaseUriPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function handleRequest(RequestInterface $request, callable $next, callable $first)
50 50
     {
51
-        $addHostNext = function (RequestInterface $request) use ($next, $first) {
51
+        $addHostNext = function(RequestInterface $request) use ($next, $first) {
52 52
             return $this->addHostPlugin->handleRequest($request, $next, $first);
53 53
         };
54 54
 
Please login to merge, or discard this patch.