@@ -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 | { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | $firstRun = ((Configure::check('Multidimensional/Cakephpify')) ? false : true); |
| 38 | 38 | |
| 39 | 39 | //Activate Plugin |
| 40 | - if ((($firstRun) ? (strtolower($this->in('Install Shopify Plugin?', ['y', 'n'])) == 'y'): (strtolower($this->in('Update Configuration?', ['y', 'n'])) == 'y')) |
|
| 40 | + if ((($firstRun) ? (strtolower($this->in('Install Shopify Plugin?', ['y', 'n'])) == 'y') : (strtolower($this->in('Update Configuration?', ['y', 'n'])) == 'y')) |
|
| 41 | 41 | ) { |
| 42 | 42 | $this->out(); |
| 43 | 43 | $this->out('Please enter your API credentials from your Shopify App page.', 2); |