Completed
Push — develop ( f185dd...152113 )
by Greg
13:06
created
app/Theme/AbstractTheme.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1115,7 +1115,7 @@  discard block
 block discarded – undo
1115 1115
 	 *
1116 1116
 	 * @param Individual $individual
1117 1117
 	 *
1118
-	 * @return Menu|null
1118
+	 * @return Menu
1119 1119
 	 *
1120 1120
 	 * @deprecated
1121 1121
 	 */
@@ -1130,7 +1130,7 @@  discard block
 block discarded – undo
1130 1130
 	 *
1131 1131
 	 * @param Individual $individual
1132 1132
 	 *
1133
-	 * @return Menu|null
1133
+	 * @return Menu
1134 1134
 	 *
1135 1135
 	 * @deprecated
1136 1136
 	 */
@@ -1145,7 +1145,7 @@  discard block
 block discarded – undo
1145 1145
 	 *
1146 1146
 	 * @param Individual $individual
1147 1147
 	 *
1148
-	 * @return Menu|null
1148
+	 * @return Menu
1149 1149
 	 *
1150 1150
 	 * @deprecated
1151 1151
 	 */
@@ -1160,7 +1160,7 @@  discard block
 block discarded – undo
1160 1160
 	 *
1161 1161
 	 * @param Individual $individual
1162 1162
 	 *
1163
-	 * @return Menu|null
1163
+	 * @return Menu
1164 1164
 	 *
1165 1165
 	 * @deprecated
1166 1166
 	 */
@@ -1192,7 +1192,7 @@  discard block
 block discarded – undo
1192 1192
 	 *
1193 1193
 	 * @param Individual $individual
1194 1194
 	 *
1195
-	 * @return Menu|null
1195
+	 * @return Menu
1196 1196
 	 *
1197 1197
 	 * @deprecated
1198 1198
 	 */
@@ -1207,7 +1207,7 @@  discard block
 block discarded – undo
1207 1207
 	 *
1208 1208
 	 * @param Individual $individual
1209 1209
 	 *
1210
-	 * @return Menu|null
1210
+	 * @return Menu
1211 1211
 	 *
1212 1212
 	 * @deprecated
1213 1213
 	 */
@@ -1222,7 +1222,7 @@  discard block
 block discarded – undo
1222 1222
 	 *
1223 1223
 	 * @param Individual $individual
1224 1224
 	 *
1225
-	 * @return Menu|null
1225
+	 * @return Menu
1226 1226
 	 *
1227 1227
 	 * @deprecated
1228 1228
 	 */
@@ -1237,7 +1237,7 @@  discard block
 block discarded – undo
1237 1237
 	 *
1238 1238
 	 * @param Individual $individual
1239 1239
 	 *
1240
-	 * @return Menu|null
1240
+	 * @return Menu
1241 1241
 	 *
1242 1242
 	 * @deprecated
1243 1243
 	 */
@@ -1252,7 +1252,7 @@  discard block
 block discarded – undo
1252 1252
 	 *
1253 1253
 	 * @param Individual $individual
1254 1254
 	 *
1255
-	 * @return Menu|null
1255
+	 * @return Menu
1256 1256
 	 *
1257 1257
 	 * @deprecated
1258 1258
 	 */
@@ -1267,7 +1267,7 @@  discard block
 block discarded – undo
1267 1267
 	 *
1268 1268
 	 * @param Individual $individual
1269 1269
 	 *
1270
-	 * @return Menu|null
1270
+	 * @return Menu
1271 1271
 	 *
1272 1272
 	 * @deprecated
1273 1273
 	 */
@@ -1280,7 +1280,7 @@  discard block
 block discarded – undo
1280 1280
 	/**
1281 1281
 	 * Generate a menu item for the statistics charts.
1282 1282
 	 *
1283
-	 * @return Menu|null
1283
+	 * @return Menu
1284 1284
 	 *
1285 1285
 	 * @deprecated
1286 1286
 	 */
@@ -1295,7 +1295,7 @@  discard block
 block discarded – undo
1295 1295
 	 *
1296 1296
 	 * @param Individual $individual
1297 1297
 	 *
1298
-	 * @return Menu|null
1298
+	 * @return Menu
1299 1299
 	 *
1300 1300
 	 * @deprecated
1301 1301
 	 */
Please login to merge, or discard this patch.
app/Module/AncestorsChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/CompactTreeChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/DescendancyChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/FamilyBookChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/HourglassChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/InteractiveTreeModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
app/Module/PedigreeChartModule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Return a menu item for this chart.
58 58
 	 *
59
-	 * @return Menu|null
59
+	 * @return Menu
60 60
 	 */
61 61
 	public function getChartMenu(Individual $individual) {
62 62
 		$tree     = $individual->getTree();
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Return a menu item for this chart - for use in individual boxes.
84 84
 	 *
85
-	 * @return Menu|null
85
+	 * @return Menu
86 86
 	 */
87 87
 	public function getBoxChartMenu(Individual $individual) {
88 88
 		return $this->getChartMenu($individual);
Please login to merge, or discard this patch.
admin.php 1 patch
Braces   +35 added lines, -14 removed lines patch added patch discarded remove patch
@@ -611,8 +611,11 @@  discard block
 block discarded – undo
611 611
 					<a href="admin_site_upgrade.php" class="error">
612 612
 						<?php echo /* I18N: %s is a version number */ I18N::translate('Upgrade to webtrees %s.', Filter::escapeHtml($latest_version)); ?>
613 613
 					</a>
614
-					<?php else: ?>
615
-						<?php echo I18N::translate('This is the latest version of webtrees. No upgrade is available.'); ?>
614
+					<?php else {
615
+	: ?>
616
+						<?php echo I18N::translate('This is the latest version of webtrees. No upgrade is available.');
617
+}
618
+?>
616 619
 					<?php endif; ?>
617 620
 				</p>
618 621
 				<?php endif; ?>
@@ -774,9 +777,12 @@  discard block
 block discarded – undo
774 777
 									<?php echo I18N::number($changes[$tree->getTreeId()]); ?>
775 778
 									<span class="sr-only"><?php echo I18N::translate('Pending changes'); ?> <?php echo $tree->getTitleHtml(); ?></span>
776 779
 								</a>
777
-								<?php else: ?>
780
+								<?php else {
781
+	: ?>
778 782
 								-
779
-								<?php endif; ?>
783
+								<?php endif;
784
+}
785
+?>
780 786
 							</td>
781 787
 							<td class="text-right flip">
782 788
 								<?php if ($individuals[$tree->getTreeId()]): ?>
@@ -784,9 +790,12 @@  discard block
 block discarded – undo
784 790
 									<?php echo I18N::number($individuals[$tree->getTreeId()]); ?>
785 791
 									<span class="sr-only"><?php echo I18N::translate('Individuals'); ?> <?php echo $tree->getTitleHtml(); ?></span>
786 792
 								</a>
787
-								<?php else: ?>
793
+								<?php else {
794
+	: ?>
788 795
 									-
789
-								<?php endif; ?>
796
+								<?php endif;
797
+}
798
+?>
790 799
 								</td>
791 800
 							<td class="text-right flip">
792 801
 								<?php if ($families[$tree->getTreeId()]): ?>
@@ -794,9 +803,12 @@  discard block
 block discarded – undo
794 803
 									<?php echo I18N::number($families[$tree->getTreeId()]); ?>
795 804
 									<span class="sr-only"><?php echo I18N::translate('Families'); ?> <?php echo $tree->getTitleHtml(); ?></span>
796 805
 								</a>
797
-								<?php else: ?>
806
+								<?php else {
807
+	: ?>
798 808
 								-
799
-								<?php endif; ?>
809
+								<?php endif;
810
+}
811
+?>
800 812
 								</td>
801 813
 							<td class="text-right flip">
802 814
 								<?php if ($sources[$tree->getTreeId()]): ?>
@@ -804,9 +816,12 @@  discard block
 block discarded – undo
804 816
 									<?php echo I18N::number($sources[$tree->getTreeId()]); ?>
805 817
 									<span class="sr-only"><?php echo I18N::translate('Sources'); ?> <?php echo $tree->getTitleHtml(); ?></span>
806 818
 								</a>
807
-								<?php else: ?>
819
+								<?php else {
820
+	: ?>
808 821
 								-
809
-								<?php endif; ?>
822
+								<?php endif;
823
+}
824
+?>
810 825
 							</td>
811 826
 							<td class="text-right flip">
812 827
 								<?php if ($repositories[$tree->getTreeId()]): ?>
@@ -814,9 +829,12 @@  discard block
 block discarded – undo
814 829
 									<?php echo I18N::number($repositories[$tree->getTreeId()]); ?>
815 830
 									<span class="sr-only"><?php echo I18N::translate('Repositories'); ?> <?php echo $tree->getTitleHtml(); ?></span>
816 831
 								</a>
817
-								<?php else: ?>
832
+								<?php else {
833
+	: ?>
818 834
 									-
819
-								<?php endif; ?>
835
+								<?php endif;
836
+}
837
+?>
820 838
 							</td>
821 839
 							<td class="text-right flip">
822 840
 								<?php if ($media[$tree->getTreeId()]): ?>
@@ -824,9 +842,12 @@  discard block
 block discarded – undo
824 842
 									<?php echo I18N::number($media[$tree->getTreeId()]); ?>
825 843
 									<span class="sr-only"><?php echo I18N::translate('Media objects'); ?> <?php echo $tree->getTitleHtml(); ?></span>
826 844
 								</a>
827
-								<?php else: ?>
845
+								<?php else {
846
+	: ?>
828 847
 								-
829
-								<?php endif; ?>
848
+								<?php endif;
849
+}
850
+?>
830 851
 							</td>
831 852
 						</tr>
832 853
 						<?php endforeach; ?>
Please login to merge, or discard this patch.