@@ -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 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | |
103 | 103 | $this->checkModuleIsActive($tree, 'descendancy_chart'); |
104 | 104 | |
105 | - $xref = $request->get('xref'); |
|
105 | + $xref = $request->get('xref'); |
|
106 | 106 | $individual = Individual::getInstance($xref, $tree); |
107 | 107 | |
108 | 108 | $this->checkIndividualAccess($individual); |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | |
120 | 120 | $descendants = $this->descendants($individual, $generations, []); |
121 | 121 | |
122 | - switch($chart_style) { |
|
122 | + switch ($chart_style) { |
|
123 | 123 | case self::CHART_STYLE_LIST: |
124 | 124 | default: |
125 | 125 | return $this->descendantsList($individual, $generations); |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | * @return Response |
340 | 340 | */ |
341 | 341 | private function descendantsFamilies(array $descendants): Response { |
342 | - $families = []; |
|
342 | + $families = []; |
|
343 | 343 | foreach ($descendants as $individual) { |
344 | 344 | foreach ($individual->getChildFamilies() as $family) { |
345 | 345 | $families[$family->getXref()] = $family; |
@@ -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 | } |
@@ -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 |