Passed
Push — master ( 39436f...475db5 )
by Daniel
03:49
created
src/DependencyInjection/CodeCloudShopifyExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         $container->setParameter('codecloud_shopify.api_version', $config['api_version']);
25 25
 
26 26
         foreach ($config['oauth'] as $key => $value) {
27
-            $container->setParameter('codecloud_shopify.oauth.'.$key, $value);
27
+            $container->setParameter('codecloud_shopify.oauth.' . $key, $value);
28 28
         }
29 29
 
30 30
         $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
Please login to merge, or discard this patch.
src/Api/Endpoint/AbstractEndpoint.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $request = $this->applyApiVersion($request);
44 44
         $response = $this->process($request);
45 45
 
46
-        if (! $response->successful()) {
46
+        if (!$response->successful()) {
47 47
             throw new FailedRequestException('Failed request. ' . $response->getHttpResponse()->getReasonPhrase());
48 48
         }
49 49
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      */
72 72
     protected function createCollection($items, GenericResource $prototype = null)
73 73
     {
74
-        if (! $prototype) {
74
+        if (!$prototype) {
75 75
             $prototype = new GenericResource();
76 76
         }
77 77
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         }
135 135
 
136 136
         $uri = $request->getUri();
137
-        $uri = $uri->withPath(str_replace("/admin/", "/admin/api/".$this->apiVersion."/", $uri->getPath()));
137
+        $uri = $uri->withPath(str_replace("/admin/", "/admin/api/" . $this->apiVersion . "/", $uri->getPath()));
138 138
         return $request->withUri($uri);
139 139
     }
140 140
 
Please login to merge, or discard this patch.