Code Duplication    Length = 8-8 lines in 2 locations

src/Console/Commands/StartServer.php 2 locations

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