MAPG-235 refactored whitespaces
This commit is contained in:
1 parent
567602c749
commit
7970927654
6 files changed
+13
-13
No files matched your search
@@ -208,7 +208,7 @@ class GameController implements ISecured
|
||||
|
||||
$room = $this->multiRoomRepository->getByRoomId($roomId);
|
||||
|
||||
if(!isset($room)) {
|
||||
if (!isset($room)) {
|
||||
return new JsonContent(['error' => 'game_not_found']);
|
||||
}
|
||||
|
||||
@@ -265,7 +265,7 @@ class GameController implements ISecured
|
||||
return new JsonContent(['error' => 'game_not_found']);
|
||||
}
|
||||
|
||||
if(!$this->userInChallengeRepository->isUserParticipatingInChallenge($userId, $challenge)) {
|
||||
if (!$this->userInChallengeRepository->isUserParticipatingInChallenge($userId, $challenge)) {
|
||||
// new player is joining
|
||||
$userInChallenge = new UserInChallenge();
|
||||
$userInChallenge->setUserId($userId);
|
||||
|
||||
Reference in new issue
Block a user