Completed
Push — master ( 714cb6...87aebd )
by
unknown
14s queued 12s
created
src/Server/Manager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $this->createTables();
116 116
         $this->prepareWebsocket();
117 117
 
118
-        if (! $this->container->make(Server::class)->taskworker) {
118
+        if (!$this->container->make(Server::class)->taskworker) {
119 119
             $this->setSwooleServerListeners();
120 120
         }
121 121
     }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $server = $this->container->make(Server::class);
129 129
         foreach ($this->events as $event) {
130 130
             $listener = Str::camel("on_$event");
131
-            $callback = method_exists($this, $listener) ? [$this, $listener] : function () use ($event) {
131
+            $callback = method_exists($this, $listener) ? [$this, $listener] : function() use ($event) {
132 132
                 $this->container->make('events')->dispatch("swoole.$event", func_get_args());
133 133
             };
134 134
 
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      */
323 323
     protected function bindSandbox()
324 324
     {
325
-        $this->app->singleton(Sandbox::class, function ($app) {
325
+        $this->app->singleton(Sandbox::class, function($app) {
326 326
             return new Sandbox($app, $this->framework);
327 327
         });
328 328
 
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
      */
411 411
     protected function normalizeException(Throwable $e)
412 412
     {
413
-        if (! $e instanceof Exception) {
413
+        if (!$e instanceof Exception) {
414 414
             if ($e instanceof \ParseError) {
415 415
                 $severity = E_PARSE;
416 416
             } elseif ($e instanceof \TypeError) {
Please login to merge, or discard this patch.