Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

Commit 2bb5793

Browse files
authored
Merge pull request #15 from TheOrchid/analysis-zGaEgo
Apply fixes from StyleCI
2 parents 88f95c0 + 3beee15 commit 2bb5793

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/Console/MakeListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class MakeListener extends GeneratorCommand
3434
*/
3535
protected function getStub()
3636
{
37-
return __DIR__ . '/stubs/listener.stub';
37+
return __DIR__.'/stubs/listener.stub';
3838
}
3939

4040
/**
@@ -46,6 +46,6 @@ protected function getStub()
4646
*/
4747
protected function getDefaultNamespace($rootNamespace)
4848
{
49-
return $rootNamespace . '\Http\Sockets';
49+
return $rootNamespace.'\Http\Sockets';
5050
}
5151
}

src/Console/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function handle()
6060
{
6161
$socket = new Socket($this->httpHost, $this->port, $this->address);
6262
require base_path('routes/socket.php');
63-
$this->info('Laravel web socket server started on ' . $this->httpHost . ':' . $this->port . '/' . 'address:' . $this->address);
63+
$this->info('Laravel web socket server started on '.$this->httpHost.':'.$this->port.'/'.'address:'.$this->address);
6464
$socket->run();
6565
}
6666
}

src/Providers/ConsoleServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ConsoleServiceProvider extends ServiceProvider
3636
public function register()
3737
{
3838
foreach ($this->commands as $command) {
39-
$this->commands($this->namespace . $command);
39+
$this->commands($this->namespace.$command);
4040
}
4141
}
4242

@@ -48,7 +48,7 @@ public function provides()
4848
$provides = [];
4949

5050
foreach ($this->commands as $command) {
51-
$provides[] = $this->namespace . $command;
51+
$provides[] = $this->namespace.$command;
5252
}
5353

5454
return $provides;

src/Providers/SocketServiceProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public function boot()
3232
protected function registerConfig()
3333
{
3434
$this->publishes([
35-
realpath(__DIR__ . '/../Config/socket.php') => config_path('socket.php'),
36-
realpath(__DIR__ . '/../socket.php') => base_path('routes/socket.php'),
35+
realpath(__DIR__.'/../Config/socket.php') => config_path('socket.php'),
36+
realpath(__DIR__.'/../socket.php') => base_path('routes/socket.php'),
3737
]);
3838
$this->mergeConfigFrom(
39-
realpath(__DIR__ . '/../Config/socket.php'), 'socket'
39+
realpath(__DIR__.'/../Config/socket.php'), 'socket'
4040
);
4141
}
4242

0 commit comments

Comments
 (0)