@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * @param Request $request |
| 75 | 75 | * @param Response $response |
| 76 | - * @return null|Response |
|
| 76 | + * @return null|string |
|
| 77 | 77 | */ |
| 78 | 78 | public function unauthenticated(Request $request, Response $response) |
| 79 | 79 | { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |
| 187 | - * @return Router |
|
| 187 | + * @return string |
|
| 188 | 188 | */ |
| 189 | 189 | private function _generateLoginUrl() |
| 190 | 190 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | 122 | * @param string $domain |
| 123 | - * @return int|false |
|
| 123 | + * @return boolean |
|
| 124 | 124 | */ |
| 125 | 125 | public function getShopIdFromDomain($domain) |
| 126 | 126 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | /** |
| 136 | 136 | * @param string $accessToken |
| 137 | 137 | * @param string $apiKey |
| 138 | - * @return array|false |
|
| 138 | + * @return boolean |
|
| 139 | 139 | */ |
| 140 | 140 | public function getShopDataFromAccessToken($accessToken, $apiKey) |
| 141 | 141 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | |
| 128 | 128 | $query = $this->shops->find('shopDomain', ['domain' => $domain]); |
| 129 | 129 | |
| 130 | - $shopEntity = $query->first(); |
|
| 130 | + $shopEntity = $query->first(); |
|
| 131 | 131 | |
| 132 | 132 | /*if ($shopEntity->isEmpty()) { |
| 133 | 133 | return false; |
@@ -268,10 +268,10 @@ |
||
| 268 | 268 | } |
| 269 | 269 | |
| 270 | 270 | /** |
| 271 | - * @param Query $query |
|
| 272 | - * @param array $options |
|
| 273 | - * @return Query |
|
| 274 | - */ |
|
| 271 | + * @param Query $query |
|
| 272 | + * @param array $options |
|
| 273 | + * @return Query |
|
| 274 | + */ |
|
| 275 | 275 | public function findByShopDomain(Query $query, array $options) |
| 276 | 276 | { |
| 277 | 277 | $shopDomain = $options['domain']; |