Code Duplication    Length = 8-8 lines in 2 locations

src/Console/Commands/StartServer.php 2 locations

@@ 164-171 (lines=8) @@
161
     *
162
     * @return void
163
     */
164
    protected function configureHttpLogger()
165
    {
166
        $this->laravel->singleton(HttpLogger::class, function () {
167
            return (new HttpLogger($this->output))
168
                ->enable($this->option('debug') ?: config('app.debug'))
169
                ->verbose($this->output->isVerbose());
170
        });
171
    }
172
173
    /**
174
     * Configure the logger for messages.
@@ 178-185 (lines=8) @@
175
     *
176
     * @return void
177
     */
178
    protected function configureMessageLogger()
179
    {
180
        $this->laravel->singleton(WebSocketsLogger::class, function () {
181
            return (new WebSocketsLogger($this->output))
182
                ->enable($this->option('debug') ?: config('app.debug'))
183
                ->verbose($this->output->isVerbose());
184
        });
185
    }
186
187
    /**
188
     * Configure the connection logger.