diff --git a/src/SocketCommand.php b/src/SocketCommand.php index d8febf3..5a56107 100644 --- a/src/SocketCommand.php +++ b/src/SocketCommand.php @@ -36,7 +36,7 @@ class SocketCommand extends GeneratorCommand */ protected function getStub() { - return __DIR__ . '/../stubs/listener.stub'; + return __DIR__.'/../stubs/listener.stub'; } /** diff --git a/src/SocketServiceProvider.php b/src/SocketServiceProvider.php index c1fc65e..056b7ac 100644 --- a/src/SocketServiceProvider.php +++ b/src/SocketServiceProvider.php @@ -31,11 +31,11 @@ class SocketServiceProvider extends ServiceProvider public function boot() { $this->publishes([ - dirname(__DIR__) . '/config/socket.php' => config_path('socket.php'), - dirname(__DIR__) . '/stubs/socket.php' => base_path('routes/socket.php'), + dirname(__DIR__).'/config/socket.php' => config_path('socket.php'), + dirname(__DIR__).'/stubs/socket.php' => base_path('routes/socket.php'), ]); $this->mergeConfigFrom( - dirname(__DIR__) . '/config/socket.php', 'socket' + dirname(__DIR__).'/config/socket.php', 'socket' ); }