Code Duplication    Length = 5-5 lines in 2 locations

src/WebSocketsServiceProvider.php 2 locations

@@ 64-68 (lines=5) @@
61
62
    protected function publishMigrations()
63
    {
64
        if (! class_exists('CreateWebSocketsStatisticsEntries')) {
65
            $this->publishes([
66
                __DIR__.'/../database/migrations/create_websockets_statistics_entries_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_websockets_statistics_entries_table.php'),
67
            ], 'migrations');
68
        }
69
70
        if (! class_exists('CreateWebsocketsAppsTable')) {
71
            $this->publishes([
@@ 70-74 (lines=5) @@
67
            ], 'migrations');
68
        }
69
70
        if (! class_exists('CreateWebsocketsAppsTable')) {
71
            $this->publishes([
72
                __DIR__.'/../database/migrations/create_websockets_apps_table.php.stub' => database_path('migrations/'.date('Y_m_d_His', time()).'_create_websockets_apps_table.php'),
73
            ], 'migrations');
74
        }
75
    }
76
77
    protected function registerRoutes()