@@ -30,7 +30,7 @@ |
||
30 | 30 | $localization = LocalizationQuery::create()->findOneById($id); |
31 | 31 | |
32 | 32 | if ($localization === null) { |
33 | - throw new ResourceNotFoundException('Localization with id ' . $id . ' does not exist'); |
|
33 | + throw new ResourceNotFoundException('Localization with id '.$id.' does not exist'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | // run response |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $group = GroupQuery::create()->findOneById($id); |
31 | 31 | |
32 | 32 | if ($group === null) { |
33 | - throw new ResourceNotFoundException('Group with id ' . $id . ' does not exist'); |
|
33 | + throw new ResourceNotFoundException('Group with id '.$id.' does not exist'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | // run response |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $action = ActionQuery::create()->findOneById($id); |
31 | 31 | |
32 | 32 | if ($action === null) { |
33 | - throw new ResourceNotFoundException('Action with id ' . $id . ' does not exist'); |
|
33 | + throw new ResourceNotFoundException('Action with id '.$id.' does not exist'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | // run response |
@@ -30,7 +30,7 @@ |
||
30 | 30 | $user = UserQuery::create()->findOneById($id); |
31 | 31 | |
32 | 32 | if ($user === null) { |
33 | - throw new ResourceNotFoundException('User with id ' . $id . ' does not exist'); |
|
33 | + throw new ResourceNotFoundException('User with id '.$id.' does not exist'); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | // run response |
@@ -79,7 +79,7 @@ |
||
79 | 79 | // sorting |
80 | 80 | $sort = $params->getSort(Api::getSerializer()->getSortFields()); |
81 | 81 | foreach ($sort as $field => $order) { |
82 | - $method = 'orderBy' . NameUtils::toStudlyCase($field); |
|
82 | + $method = 'orderBy'.NameUtils::toStudlyCase($field); |
|
83 | 83 | $query->$method($order); |
84 | 84 | } |
85 | 85 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | // sorting |
30 | 30 | $sort = $params->getSort(RegionArea::getSerializer()->getSortFields()); |
31 | 31 | foreach ($sort as $field => $order) { |
32 | - $method = 'orderBy' . NameUtils::toStudlyCase($field); |
|
32 | + $method = 'orderBy'.NameUtils::toStudlyCase($field); |
|
33 | 33 | $query->$method($order); |
34 | 34 | } |
35 | 35 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | // sorting |
30 | 30 | $sort = $params->getSort(LanguageScript::getSerializer()->getSortFields()); |
31 | 31 | foreach ($sort as $field => $order) { |
32 | - $method = 'orderBy' . NameUtils::toStudlyCase($field); |
|
32 | + $method = 'orderBy'.NameUtils::toStudlyCase($field); |
|
33 | 33 | $query->$method($order); |
34 | 34 | } |
35 | 35 |
@@ -79,7 +79,7 @@ |
||
79 | 79 | // sorting |
80 | 80 | $sort = $params->getSort(Preference::getSerializer()->getSortFields()); |
81 | 81 | foreach ($sort as $field => $order) { |
82 | - $method = 'orderBy' . NameUtils::toStudlyCase($field); |
|
82 | + $method = 'orderBy'.NameUtils::toStudlyCase($field); |
|
83 | 83 | $query->$method($order); |
84 | 84 | } |
85 | 85 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | // sorting |
30 | 30 | $sort = $params->getSort(LanguageFamily::getSerializer()->getSortFields()); |
31 | 31 | foreach ($sort as $field => $order) { |
32 | - $method = 'orderBy' . NameUtils::toStudlyCase($field); |
|
32 | + $method = 'orderBy'.NameUtils::toStudlyCase($field); |
|
33 | 33 | $query->$method($order); |
34 | 34 | } |
35 | 35 |