@@ -400,10 +400,10 @@ |
||
| 400 | 400 | } |
| 401 | 401 | |
| 402 | 402 | /** |
| 403 | - * @param ServerRequestInterface $request |
|
| 404 | - * |
|
| 405 | - * @return ResponseInterface |
|
| 406 | - */ |
|
| 403 | + * @param ServerRequestInterface $request |
|
| 404 | + * |
|
| 405 | + * @return ResponseInterface |
|
| 406 | + */ |
|
| 407 | 407 | public function duplicates(ServerRequestInterface $request): ResponseInterface |
| 408 | 408 | { |
| 409 | 409 | $tree = $request->getAttribute('tree'); |
@@ -37,12 +37,12 @@ |
||
| 37 | 37 | class EditIndividualController extends AbstractEditController |
| 38 | 38 | { |
| 39 | 39 | /** |
| 40 | - * Add a child to an existing individual (creating a one-parent family). |
|
| 41 | - * |
|
| 42 | - * @param ServerRequestInterface $request |
|
| 43 | - * |
|
| 44 | - * @return ResponseInterface |
|
| 45 | - */ |
|
| 40 | + * Add a child to an existing individual (creating a one-parent family). |
|
| 41 | + * |
|
| 42 | + * @param ServerRequestInterface $request |
|
| 43 | + * |
|
| 44 | + * @return ResponseInterface |
|
| 45 | + */ |
|
| 46 | 46 | public function addChild(ServerRequestInterface $request): ResponseInterface |
| 47 | 47 | { |
| 48 | 48 | $tree = $request->getAttribute('tree'); |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $tree = $request->getAttribute('tree'); |
| 78 | 78 | assert($tree instanceof Tree); |
| 79 | 79 | |
| 80 | - $xref = $request->getParsedBody()['xref']; |
|
| 80 | + $xref = $request->getParsedBody()['xref']; |
|
| 81 | 81 | |
| 82 | 82 | $individual = Individual::getInstance($xref, $tree); |
| 83 | 83 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | $tree = $request->getAttribute('tree'); |
| 144 | 144 | assert($tree instanceof Tree); |
| 145 | 145 | |
| 146 | - $xref = $request->getQueryParams()['xref']; |
|
| 146 | + $xref = $request->getQueryParams()['xref']; |
|
| 147 | 147 | $individual = Individual::getInstance($xref, $tree); |
| 148 | 148 | Auth::checkIndividualAccess($individual, true); |
| 149 | 149 | |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | $tree = $request->getAttribute('tree'); |
| 180 | 180 | assert($tree instanceof Tree); |
| 181 | 181 | |
| 182 | - $xref = $request->getParsedBody()['xref']; |
|
| 182 | + $xref = $request->getParsedBody()['xref']; |
|
| 183 | 183 | $individual = Individual::getInstance($xref, $tree); |
| 184 | 184 | Auth::checkIndividualAccess($individual, true); |
| 185 | 185 | |