@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | |
58 | 58 | /** |
59 | - * @param ObjectManager $objectManager |
|
59 | + * @param Account $objectManager |
|
60 | 60 | */ |
61 | 61 | public function injectAccount(ObjectManager $objectManager) { |
62 | 62 | $this->objectManager = $objectManager; |
@@ -117,7 +117,7 @@ |
||
117 | 117 | { |
118 | 118 | if( $this->client->callHubic($account) ){ |
119 | 119 | $this->addFlashMessage('Token successfully added', 'Authentication request', AbstractMessage::OK); |
120 | - }else { |
|
120 | + } else { |
|
121 | 121 | $this->addFlashMessage('Failed getting token please check client ID and client secret', 'Authentication request', AbstractMessage::ERROR); |
122 | 122 | } |
123 | 123 | $this->redirect('show', '', '', ['account' => $account]); |