@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function handle() |
| 41 | 41 | { |
| 42 | - Karma::created(function (Karma $karma) { |
|
| 42 | + Karma::created(function(Karma $karma) { |
|
| 43 | 43 | |
| 44 | 44 | $count = $karma->target->karma->count(); |
| 45 | 45 | |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | */ |
| 78 | 78 | public function handle() |
| 79 | 79 | { |
| 80 | - Achieve::created(function (Achieve $achieve) { |
|
| 80 | + Achieve::created(function(Achieve $achieve) { |
|
| 81 | 81 | $room = \App::make(Room::class); |
| 82 | 82 | |
| 83 | 83 | $room->write( |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $this->stop(); |
| 78 | 78 | break; |
| 79 | 79 | default: |
| 80 | - throw new \InvalidArgumentException('Action ' . $action . ' not found'); |
|
| 80 | + throw new \InvalidArgumentException('Action '.$action.' not found'); |
|
| 81 | 81 | } |
| 82 | 82 | } |
| 83 | 83 | |
@@ -87,9 +87,9 @@ discard block |
||
| 87 | 87 | protected function start() |
| 88 | 88 | { |
| 89 | 89 | foreach ($this->config->get('gitter.rooms') as $key => $id) { |
| 90 | - shell_exec('nohup php artisan gitter:listen ' . $key . ' > /dev/null 2>&1 &'); |
|
| 90 | + shell_exec('nohup php artisan gitter:listen '.$key.' > /dev/null 2>&1 &'); |
|
| 91 | 91 | |
| 92 | - $this->line('Starting ' . $key . ' => ' . $id . ' listener.'); |
|
| 92 | + $this->line('Starting '.$key.' => '.$id.' listener.'); |
|
| 93 | 93 | } |
| 94 | 94 | } |
| 95 | 95 | |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | foreach ($finder as $file) { |
| 107 | 107 | $pid = file_get_contents($file->getRealpath()); |
| 108 | - shell_exec('kill ' . $pid); |
|
| 108 | + shell_exec('kill '.$pid); |
|
| 109 | 109 | unlink($file->getRealpath()); |
| 110 | 110 | } |
| 111 | 111 | } |