Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Oct 13, 2019
1 parent 0c7e6ca commit 1440f77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/Sandbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
use think\Container;
use think\Event;
use think\Http;
use think\Request;
use think\Response;
use think\service\PaginatorService;
use think\swoole\contract\ResetterInterface;
use think\swoole\coroutine\Context;
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/server/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function dispatch(int $fd, string $data)

$result = $this->app->invoke([$this->app->make($service['class']), $method], $params);
}
} catch (Throwable|Exception $e) {
} catch (Throwable | Exception $e) {
$result = Error::make($e->getCode(), $e->getMessage());
}

Expand Down

0 comments on commit 1440f77

Please sign in to comment.