Skip to content

Commit 1103032

Browse files
author
Robert Wittman
committed
Removed unneccessary variable
1 parent fa61d16 commit 1103032

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/AbstractResource.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function __construct($data = array())
1919
$this->{$key} = $value;
2020
}
2121
}
22-
22+
2323
/**
2424
* Make a call to Shopify API Server
2525
* @param string $path URL to request
@@ -30,8 +30,7 @@ public function __construct($data = array())
3030
*/
3131
public static function call($path, $method = 'GET', $params = array())
3232
{
33-
$data = \Shopify\Shopify::call($path, $method, $params);
34-
return $data;
33+
return \Shopify\Shopify::call($path, $method, $params);
3534
}
3635

3736

0 commit comments

Comments
 (0)