Apply fixes from StyleCI

This commit is contained in:
Marcel Pociot authored and StyleCI Bot committed 2021-06-01 18:26:46 +00:00
1 parent 5e54d0a80f
commit fc5ac1c53f
1 file changed
+3 -3
@@ -33,8 +33,8 @@ class GetUserDetailsController extends AdminController
$promise = $this->userRepository->getUserById($id);
}
$promise->then(function ($user) use ($httpConnection, $request) {
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
$promise->then(function ($user) use ($httpConnection) {
$this->subdomainRepository->getSubdomainsByUserId($user['id'])
->then(function ($subdomains) use ($httpConnection, $user) {
$httpConnection->send(
respond_json([
@@ -45,6 +45,6 @@ class GetUserDetailsController extends AdminController
$httpConnection->close();
});
});
});
}
}