@@ -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 | { |
@@ -129,7 +129,7 @@ |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | $query = $this->shops->find; |
132 | - $query = $query->findByShopDomain(['domain' => $domain]); |
|
132 | + $query = $query->findByShopDomain(['domain' => $domain]); |
|
133 | 133 | $shopEntity = $query->first(); |
134 | 134 | |
135 | 135 | if ($shopEntity->isEmpty()) { |