Completed
Pull Request — master (#1644)
by Rico
10:33
created
app/Http/Controllers/ModuleController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
43 43
 			throw new NotFoundHttpException('Not found');
44 44
 		}
45 45
 
46
-		$function = $request->getMethod() ;
46
+		$function = $request->getMethod();
47 47
 	}
48 48
 }
Please login to merge, or discard this patch.
app/Http/Controllers/CompactTreeChartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/AbstractChartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/AncestorsChartController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.
resources/views/blocks/changes-list.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,12 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
app/Http/Controllers/FamilyBookChartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/VerifyEmailController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ForgotPasswordController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.