MAPG-235 refactored whitespaces
This commit is contained in:
1 parent
567602c749
commit
7970927654
6 files changed
+13
-13
No files matched your search
@@ -309,9 +309,9 @@ class GameFlowController implements ISecured
|
||||
$session = $this->request->session();
|
||||
$userId = $session->get('userId');
|
||||
|
||||
if(isset($userId)) {
|
||||
if (isset($userId)) {
|
||||
$userPlayedPlace = $this->userPlayedPlaceRepository->getByUserIdAndPlaceId($userId, $placeId);
|
||||
if(!$userPlayedPlace) {
|
||||
if (!$userPlayedPlace) {
|
||||
$userPlayedPlace = new UserPlayedPlace();
|
||||
$userPlayedPlace->setUserId($userId);
|
||||
$userPlayedPlace->setPlaceId($placeId);
|
||||
@@ -415,7 +415,7 @@ class GameFlowController implements ISecured
|
||||
$response['restrictions']['timeLimit'] = $timeLimit * 1000;
|
||||
}
|
||||
|
||||
if(isset($response['history'][$currentRound]['allResults'])) {
|
||||
if (isset($response['history'][$currentRound]['allResults'])) {
|
||||
$response['allResults'] = $response['history'][$currentRound]['allResults'];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user