@@ -87,7 +87,7 @@ function () {
8787 *
8888 * @return array
8989 */
90- private function gatherConfig () : array
90+ private function gatherConfig (): array
9191 {
9292 return [
9393 'api_key ' => $ this ->argument ('apiKey ' ) ?? $ this ->promptForApiKey (),
@@ -99,7 +99,7 @@ private function gatherConfig() : array
9999 *
100100 * @return string
101101 */
102- private function promptForApiKey () : string
102+ private function promptForApiKey (): string
103103 {
104104 return $ this ->requiredSecret ('Your API key ' , 'The API key is required ' );
105105 }
@@ -109,7 +109,7 @@ private function promptForApiKey() : string
109109 *
110110 * @return array
111111 */
112- private function sendTest () : array
112+ private function sendTest (): array
113113 {
114114 Config::set ('honeybadger.api_key ' , $ this ->config ['api_key ' ]);
115115
@@ -134,7 +134,7 @@ function () use ($result) {
134134 *
135135 * @return void
136136 */
137- private function writeEnv () : void
137+ private function writeEnv (): void
138138 {
139139 $ this ->tasks ->addTask (
140140 'Write HONEYBADGER_API_KEY to .env ' ,
@@ -162,7 +162,7 @@ function () {
162162 *
163163 * @return bool
164164 */
165- public function publishConfig () : bool
165+ public function publishConfig (): bool
166166 {
167167 if (app ('honeybadger.isLumen ' )) {
168168 return $ this ->installer ->publishLumenConfig ();
@@ -177,7 +177,7 @@ public function publishConfig() : bool
177177 * @param string $noticeId
178178 * @return void
179179 */
180- private function outputSuccessMessage (string $ noticeId ) : void
180+ private function outputSuccessMessage (string $ noticeId ): void
181181 {
182182 $ this ->line (SuccessMessage::make ($ noticeId ));
183183 }
0 commit comments