Failed Conditions
Push — 4.0 ( 35f28e...14891d )
by Ryo
36:06 queued 29:41
created
src/Eccube/Service/PluginApiService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,14 +59,14 @@  discard block
 block discarded – undo
59 59
 
60 60
     public function getCategory()
61 61
     {
62
-        $urlCategory = $this->getApiUrl() . '/category';
62
+        $urlCategory = $this->getApiUrl().'/category';
63 63
 
64 64
         return $this->getRequestApi($urlCategory);
65 65
     }
66 66
 
67 67
     public function getPlugins($data = array())
68 68
     {
69
-        $url = $this->getApiUrl() . '/plugins';
69
+        $url = $this->getApiUrl().'/plugins';
70 70
         $params['category_id'] = $data['category_id'];
71 71
         $params['price_type'] = empty($data['price_type']) ? 'all' : $data['price_type'];
72 72
         $params['keyword'] = $data['keyword'];
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     public function getRequestApi($url, $data = array())
89 89
     {
90 90
         if (count($data) > 0) {
91
-            $url .=  '?' . http_build_query($data);
91
+            $url .= '?'.http_build_query($data);
92 92
         }
93 93
 
94 94
         $curl = curl_init($url);
Please login to merge, or discard this patch.