@@ -83,7 +83,7 @@ |
||
| 83 | 83 | if (!empty($this->before)) { |
| 84 | 84 | $parts[] = (string) $this->before; |
| 85 | 85 | } |
| 86 | - $parts[] = 'cd ' . base_path(); |
|
| 86 | + $parts[] = 'cd '.base_path(); |
|
| 87 | 87 | $parts[] = "{$this->phpBinary} {$this->getArtisan()} {$this->command}"; |
| 88 | 88 | if (!empty($this->after)) { |
| 89 | 89 | $parts[] = (string) $this->after; |
@@ -114,6 +114,6 @@ |
||
| 114 | 114 | */ |
| 115 | 115 | protected function getTransportURI() |
| 116 | 116 | { |
| 117 | - return ($this->tls ? 'wss://' : 'ws://') . $this->host . ':' . $this->port; |
|
| 117 | + return ($this->tls ? 'wss://' : 'ws://').$this->host.':'.$this->port; |
|
| 118 | 118 | } |
| 119 | 119 | } |
@@ -86,10 +86,10 @@ discard block |
||
| 86 | 86 | $this->parseOptions(); |
| 87 | 87 | $this->changeWampLogger(); |
| 88 | 88 | |
| 89 | - $clientCommand = 'php artisan wamp:register-routes' . $this->getCommandLineOptions(); |
|
| 89 | + $clientCommand = 'php artisan wamp:register-routes'.$this->getCommandLineOptions(); |
|
| 90 | 90 | |
| 91 | 91 | if ($this->clientTransportProvider) { |
| 92 | - $clientCommand .= ' --transport-provider=' . $this->clientTransportProvider; |
|
| 92 | + $clientCommand .= ' --transport-provider='.$this->clientTransportProvider; |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | RunCommandInBackground::factory($clientCommand)->runInBackground(); |
@@ -99,10 +99,10 @@ discard block |
||
| 99 | 99 | $this->WAMPServer->registerModule($this->getTransportProvider()); |
| 100 | 100 | $this->WAMPServer->start(!$this->runOnce); |
| 101 | 101 | } else { |
| 102 | - $serverCommand = 'php artisan wamp:run-server ' . $this->getCommandLineOptions(); |
|
| 102 | + $serverCommand = 'php artisan wamp:run-server '.$this->getCommandLineOptions(); |
|
| 103 | 103 | |
| 104 | 104 | if ($this->clientTransportProvider) { |
| 105 | - $serverCommand .= ' --client-transport-provider=' . $this->clientTransportProvider; |
|
| 105 | + $serverCommand .= ' --client-transport-provider='.$this->clientTransportProvider; |
|
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | RunCommandInBackground::factory($serverCommand)->runInBackground(); |
@@ -111,12 +111,12 @@ discard block |
||
| 111 | 111 | |
| 112 | 112 | protected function getCommandLineOptions() |
| 113 | 113 | { |
| 114 | - $command = ' --port=' . $this->port . |
|
| 115 | - ' --host=' . $this->host . |
|
| 116 | - ' --realm=' . $this->realm; |
|
| 114 | + $command = ' --port='.$this->port. |
|
| 115 | + ' --host='.$this->host. |
|
| 116 | + ' --realm='.$this->realm; |
|
| 117 | 117 | |
| 118 | 118 | if ($this->clientTransportProvider) { |
| 119 | - $command .= ' --transport-provider=' . $this->clientTransportProvider; |
|
| 119 | + $command .= ' --transport-provider='.$this->clientTransportProvider; |
|
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | if ($this->noDebug) { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | if ($this->routePath) { |
| 131 | - $command .= ' --route-path=' . $this->routePath; |
|
| 131 | + $command .= ' --route-path='.$this->routePath; |
|
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | if ($this->noLoop) { |