Completed
Push — master ( 8197e1...fb9ac0 )
by Vitaly
02:49
created
src/Instagram.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     {
80 80
         $paramsUrl = '';
81 81
         foreach ($params as $key => $value) {
82
-            $paramsUrl .= '&' . $key . '=' . $value;
82
+            $paramsUrl .= '&'.$key.'='.$value;
83 83
         }
84 84
 
85 85
         return $paramsUrl;
@@ -168,13 +168,13 @@  discard block
 block discarded – undo
168 168
      */
169 169
     public function getLikes($id, $access_token)
170 170
     {
171
-        $endpoint = '/media/' . $id . '/likes';
172
-        $url = $this->url . $endpoint;
171
+        $endpoint = '/media/'.$id.'/likes';
172
+        $url = $this->url.$endpoint;
173 173
 
174 174
         $sigParams = array('access_token' => $access_token);
175 175
         $signature = $this->generateSig($endpoint, $sigParams);
176 176
 
177
-        $url .= '?access_token=' . $access_token . '&sig=' . $signature;
177
+        $url .= '?access_token='.$access_token.'&sig='.$signature;
178 178
 
179 179
         // Get API response
180 180
         $response = $this->request->get($url);
Please login to merge, or discard this patch.