|
@@ 134-136 (lines=3) @@
|
| 131 |
|
|
| 132 |
|
$errors = []; |
| 133 |
|
|
| 134 |
|
if (null !== ($query = $request->getQuery())) { |
| 135 |
|
$errors = array_merge($errors, $this->validator->validate($query, $validationGroups)); |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
if (null !== ($body = $request->getBody())) { |
| 139 |
|
$errors = array_merge($errors, $this->validator->validate($body, $validationGroups)); |
|
@@ 138-140 (lines=3) @@
|
| 135 |
|
$errors = array_merge($errors, $this->validator->validate($query, $validationGroups)); |
| 136 |
|
} |
| 137 |
|
|
| 138 |
|
if (null !== ($body = $request->getBody())) { |
| 139 |
|
$errors = array_merge($errors, $this->validator->validate($body, $validationGroups)); |
| 140 |
|
} |
| 141 |
|
|
| 142 |
|
if (0 === count($errors)) { |
| 143 |
|
return; |