@@ -175,7 +175,7 @@ |
||
175 | 175 | /** |
176 | 176 | * @param string $shopDomain |
177 | 177 | * @param string $redirectUrl |
178 | - * @return int |
|
178 | + * @return string |
|
179 | 179 | */ |
180 | 180 | public function getAuthorizeUrl($shopDomain, $redirectUrl) |
181 | 181 | { |
@@ -64,7 +64,8 @@ |
||
64 | 64 | } |
65 | 65 | $scope = array_map('trim', $scope); |
66 | 66 | $scope = array_map('strtolower', $scope); |
67 | - array_walk($scope, function (&$value) { |
|
67 | + array_walk($scope, function (&$value) |
|
68 | + { |
|
68 | 69 | $value = str_replace(" ", "_", $value); |
69 | 70 | }); |
70 | 71 |