@@ -79,7 +79,7 @@ |
||
79 | 79 | // sorting |
80 | 80 | $sort = $params->getSort(Localization::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 |
@@ -79,7 +79,7 @@ |
||
79 | 79 | // sorting |
80 | 80 | $sort = $params->getSort(Localization::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 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $user = UserQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($user === null) { |
42 | - throw new ResourceNotFoundException('user with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('user with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $group = GroupQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($group === null) { |
42 | - throw new ResourceNotFoundException('group with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('group with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $action = ActionQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($action === null) { |
42 | - throw new ResourceNotFoundException('action with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('action with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $localization = LocalizationQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($localization === null) { |
42 | - throw new ResourceNotFoundException('localization with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('localization with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $user = UserQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($user === null) { |
42 | - throw new ResourceNotFoundException('user with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('user with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $action = ActionQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($action === null) { |
42 | - throw new ResourceNotFoundException('action with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('action with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |
@@ -39,7 +39,7 @@ |
||
39 | 39 | $group = GroupQuery::create()->findOneById($id); |
40 | 40 | |
41 | 41 | if ($group === null) { |
42 | - throw new ResourceNotFoundException('group with id ' . $id . ' does not exist'); |
|
42 | + throw new ResourceNotFoundException('group with id '.$id.' does not exist'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // remove all relationships before |