@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 | |
@@ -43,6 +43,6 @@ discard block |
||
43 | 43 | throw new NotFoundHttpException('Not found'); |
44 | 44 | } |
45 | 45 | |
46 | - $function = $request->getMethod() ; |
|
46 | + $function = $request->getMethod(); |
|
47 | 47 | } |
48 | 48 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | |
105 | 105 | $this->checkModuleIsActive($tree, 'ancestors_chart'); |
106 | 106 | |
107 | - $xref = $request->get('xref'); |
|
107 | + $xref = $request->get('xref'); |
|
108 | 108 | $individual = Individual::getInstance($xref, $tree); |
109 | 109 | |
110 | 110 | $this->checkIndividualAccess($individual); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | $ancestors = $this->sosaStradonitzAncestors($individual, $generations); |
124 | 124 | |
125 | - switch($chart_style) { |
|
125 | + switch ($chart_style) { |
|
126 | 126 | case self::CHART_STYLE_LIST: |
127 | 127 | default: |
128 | 128 | return $this->ancestorsList($individual, $generations); |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | } |
241 | 241 | } |
242 | 242 | |
243 | - $html = FunctionsPrintLists::familyTable($families); |
|
243 | + $html = FunctionsPrintLists::familyTable($families); |
|
244 | 244 | |
245 | 245 | return new Response($html); |
246 | 246 | } |
@@ -3,9 +3,12 @@ |
||
3 | 3 | |
4 | 4 | <?php if ($summary !== ''): ?> |
5 | 5 | <span class="details_label"><?= $summary ?></span> |
6 | -<?php else: ?> |
|
6 | +<?php else { |
|
7 | + : ?> |
|
7 | 8 | <?php foreach ($facts as $fact): ?> |
8 | - <?php $record = $fact->getParent(); ?> |
|
9 | + <?php $record = $fact->getParent(); |
|
10 | +} |
|
11 | +?> |
|
9 | 12 | <a href="<?= e($record->url()) ?>" class="list_item name2"> |
10 | 13 | <?= $record->getFullName() ?> |
11 | 14 | </a> |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers\Auth; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers\Auth; |
19 | 19 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | * You should have received a copy of the GNU General Public License |
14 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | 15 | */ |
16 | -declare(strict_types=1); |
|
16 | +declare(strict_types = 1); |
|
17 | 17 | |
18 | 18 | namespace Fisharebest\Webtrees\Http\Controllers\Auth; |
19 | 19 |