Code Duplication    Length = 8-8 lines in 2 locations

src/Console/Commands/StartServer.php 2 locations

@@ 208-215 (lines=8) @@
205
     *
206
     * @return void
207
     */
208
    protected function configureHttpLogger()
209
    {
210
        $this->laravel->singleton(HttpLogger::class, function () {
211
            return (new HttpLogger($this->output))
212
                ->enable($this->option('debug') ?: config('app.debug'))
213
                ->verbose($this->output->isVerbose());
214
        });
215
    }
216
217
    /**
218
     * Configure the logger for messages.
@@ 222-229 (lines=8) @@
219
     *
220
     * @return void
221
     */
222
    protected function configureMessageLogger()
223
    {
224
        $this->laravel->singleton(WebSocketsLogger::class, function () {
225
            return (new WebSocketsLogger($this->output))
226
                ->enable($this->option('debug') ?: config('app.debug'))
227
                ->verbose($this->output->isVerbose());
228
        });
229
    }
230
231
    /**
232
     * Configure the connection logger.