@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | private function significant(Family $family) |
| 65 | 65 | { |
| 66 | - $significant = (object)[ |
|
| 66 | + $significant = (object) [ |
|
| 67 | 67 | 'family' => $family, |
| 68 | 68 | 'individual' => null, |
| 69 | 69 | 'surname' => '', |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function delete(Request $request): Response |
| 43 | 43 | { |
| 44 | - $user_id = (int)$request->get('user_id'); |
|
| 44 | + $user_id = (int) $request->get('user_id'); |
|
| 45 | 45 | |
| 46 | 46 | $user = User::find($user_id); |
| 47 | 47 | |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | */ |
| 81 | 81 | public function masquerade(Request $request): Response |
| 82 | 82 | { |
| 83 | - $user_id = (int)$request->get('user_id'); |
|
| 83 | + $user_id = (int) $request->get('user_id'); |
|
| 84 | 84 | |
| 85 | 85 | $user = User::find($user_id); |
| 86 | 86 | |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | $years -= $years % 5; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - return (string)$years; |
|
| 45 | + return (string) $years; |
|
| 46 | 46 | } |
| 47 | 47 | } |
| 48 | 48 | } |
@@ -53,6 +53,6 @@ |
||
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - return (string)$count; |
|
| 56 | + return (string) $count; |
|
| 57 | 57 | } |
| 58 | 58 | } |
@@ -53,6 +53,6 @@ |
||
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | - return (string)$count; |
|
| 56 | + return (string) $count; |
|
| 57 | 57 | } |
| 58 | 58 | } |
@@ -187,8 +187,8 @@ discard block |
||
| 187 | 187 | foreach ($person->getChildFamilies() as $cfamily) { |
| 188 | 188 | foreach ($cfamily->getSpouses() as $parent) { |
| 189 | 189 | echo FontAwesome::linkIcon('arrow-up', I18N::translate('Start at parents'), ['href' => route('descendants', ['ged' => $parent->getTree()->getName(), |
| 190 | - 'xref' => $parent->getXref(), |
|
| 191 | - 'generations' => $generations, |
|
| 190 | + 'xref' => $parent->getXref(), |
|
| 191 | + 'generations' => $generations, |
|
| 192 | 192 | ]), |
| 193 | 193 | ]); |
| 194 | 194 | // only show the arrow for one of the parents |
@@ -268,8 +268,8 @@ discard block |
||
| 268 | 268 | foreach ($spouse->getChildFamilies() as $cfamily) { |
| 269 | 269 | foreach ($cfamily->getSpouses() as $parent) { |
| 270 | 270 | echo FontAwesome::linkIcon('arrow-up', I18N::translate('Start at parents'), ['href' => route('descendants', ['ged' => $parent->getTree()->getName(), |
| 271 | - 'xref' => $parent->getXref(), |
|
| 272 | - 'generations' => $generations, |
|
| 271 | + 'xref' => $parent->getXref(), |
|
| 272 | + 'generations' => $generations, |
|
| 273 | 273 | ]), |
| 274 | 274 | ]); |
| 275 | 275 | // only show the arrow for one of the parents |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | return new Menu( |
| 66 | 66 | $this->getTitle(), |
| 67 | 67 | route('report-setup', ['ged' => $tree->getName(), |
| 68 | - 'report' => $this->getName(), |
|
| 68 | + 'report' => $this->getName(), |
|
| 69 | 69 | ]), |
| 70 | 70 | 'menu-report-' . $this->getName(), |
| 71 | 71 | ['rel' => 'nofollow'] |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | return new Menu( |
| 72 | 72 | $this->getTitle(), |
| 73 | 73 | route('family-book', ['ged' => $individual->getTree()->getName(), |
| 74 | - 'xref' => $individual->getXref(), |
|
| 74 | + 'xref' => $individual->getXref(), |
|
| 75 | 75 | ]), |
| 76 | 76 | 'menu-chart-familybook', |
| 77 | 77 | ['rel' => 'nofollow'] |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | return new Menu( |
| 72 | 72 | $this->getTitle(), |
| 73 | 73 | route('descendants', ['ged' => $individual->getTree()->getName(), |
| 74 | - 'xref' => $individual->getXref(), |
|
| 74 | + 'xref' => $individual->getXref(), |
|
| 75 | 75 | ]), |
| 76 | 76 | 'menu-chart-descendants', |
| 77 | 77 | ['rel' => 'nofollow'] |