Completed
Pull Request — master (#1464)
by Rico
07:53
created
app/Fact.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 	/**
88 88
 	 * Get the record to which this fact links
89 89
 	 *
90
-	 * @return Individual|Family|Source|Repository|Media|Note|null
90
+	 * @return GedcomRecord|null
91 91
 	 */
92 92
 	public function getTarget() {
93 93
 		$xref = trim($this->getValue(), '@');
Please login to merge, or discard this patch.
app/Module/BatchUpdateModule.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 	 *
269 269
 	 * @param string $xref
270 270
 	 *
271
-	 * @return string|null
271
+	 * @return integer|null
272 272
 	 */
273 273
 	private function findNextXref($xref) {
274 274
 		foreach (array_keys($this->all_xrefs) as $key) {
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
 	 *
289 289
 	 * @param string $xref
290 290
 	 *
291
-	 * @return string|null
291
+	 * @return integer|null
292 292
 	 */
293 293
 	private function findPrevXref($xref) {
294 294
 		foreach (array_reverse(array_keys($this->all_xrefs)) as $key) {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,8 @@  discard block
 block discarded – undo
235 235
 					<?php // Reset - otherwise we might "undo all changes", which refreshes the ?>
236 236
 					<?php // page, which makes them all again!  ?>
237 237
 					<script>reset_reload();</script>
238
-			<?php else: ?>
238
+			<?php else {
239
+	: ?>
239 240
 					<hr>
240 241
 					<div id="batch_update2" class="col-sm-12">
241 242
 						<?php if ($this->curr_xref): ?>
@@ -273,6 +274,7 @@  discard block
 block discarded – undo
273 274
 		foreach (array_keys($this->all_xrefs) as $key) {
274 275
 			if ($key > $xref) {
275 276
 				$record = self::getLatestRecord($key, $this->all_xrefs[$key]);
277
+}
276 278
 				if ($this->PLUGIN->doesRecordNeedUpdate($key, $record)) {
277 279
 					return $key;
278 280
 				}
Please login to merge, or discard this patch.
app/Module/ModuleBlockInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
 	 * An HTML form to edit block settings
59 59
 	 *
60 60
 	 * @param int $block_id
61
+	 * @return void
61 62
 	 */
62 63
 	public function configureBlock($block_id);
63 64
 }
Please login to merge, or discard this patch.
app/Report/ReportBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -463,7 +463,7 @@
 block discarded – undo
463 463
 	 *
464 464
 	 * @param string $s Style name
465 465
 	 *
466
-	 * @return array
466
+	 * @return string
467 467
 	 */
468 468
 	public function getStyle($s) {
469 469
 		if (!isset($this->Styles[$s])) {
Please login to merge, or discard this patch.
app/Report/ReportBaseCell.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	 * @param int $stretch Stretch carachter mode
128 128
 	 * @param string $bocolor Border color
129 129
 	 * @param string $tcolor  Text color
130
-	 * @param        $reseth
130
+	 * @param        boolean $reseth
131 131
 	 */
132 132
 	public function __construct(
133 133
 		$width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	 *
158 158
 	 * @param $renderer
159 159
 	 *
160
-	 * @return float
160
+	 * @return integer
161 161
 	 */
162 162
 	public function getHeight($renderer) {
163 163
 		return $this->height;
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 	 *
182 182
 	 * @param $renderer
183 183
 	 *
184
-	 * @return float
184
+	 * @return integer
185 185
 	 */
186 186
 	public function getWidth($renderer) {
187 187
 		return $this->width;
Please login to merge, or discard this patch.
app/Report/ReportHtml.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 	 * @param string $tcolor  Text color
309 309
 	 * @param bool    $reseth
310 310
 	 *
311
-	 * @return object ReportHtmlCell
311
+	 * @return ReportHtmlCell ReportHtmlCell
312 312
 	 */
313 313
 	public function createCell($width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth) {
314 314
 		return new ReportHtmlCell($width, $height, $border, $align, $bgcolor, $style, $ln, $top, $left, $fill, $stretch, $bocolor, $tcolor, $reseth);
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
 	/**
467 467
 	 * Add a page header.
468 468
 	 *
469
-	 * @param $element
469
+	 * @param ReportBaseElement $element
470 470
 	 *
471 471
 	 * @return int
472 472
 	 */
@@ -479,7 +479,7 @@  discard block
 block discarded – undo
479 479
 	/**
480 480
 	 * Checks the Footnote and numbers them - ReportHtml
481 481
 	 *
482
-	 * @param object $footnote
482
+	 * @param ReportBaseFootnote $footnote
483 483
 	 *
484 484
 	 * @return bool false if not numbered before | object if already numbered
485 485
 	 */
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
 	/**
554 554
 	 * Get the current footnotes height.
555 555
 	 *
556
-	 * @param $cellWidth
556
+	 * @param double $cellWidth
557 557
 	 *
558 558
 	 * @return int
559 559
 	 */
@@ -600,9 +600,9 @@  discard block
 block discarded – undo
600 600
 	/**
601 601
 	 * Get a text height in points - ReportHtml
602 602
 	 *
603
-	 * @param $str
603
+	 * @param string $str
604 604
 	 *
605
-	 * @return int
605
+	 * @return double
606 606
 	 */
607 607
 	public function getTextCellHeight($str) {
608 608
 		// Count the number of lines to calculate the height
@@ -641,7 +641,7 @@  discard block
 block discarded – undo
641 641
 	/**
642 642
 	 * Set the current style.
643 643
 	 *
644
-	 * @param $s
644
+	 * @param string $s
645 645
 	 */
646 646
 	public function setCurrentStyle($s) {
647 647
 		$this->currentStyle = $s;
Please login to merge, or discard this patch.
app/Report/ReportHtmlFootnote.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	 * @param ReportHtml $html
60 60
 	 * @param int        $cellWidth The width of the cell to use it for text wraping
61 61
 	 *
62
-	 * @return int       Footnote height in points
62
+	 * @return double       Footnote height in points
63 63
 	 */
64 64
 	public function getFootnoteHeight($html, $cellWidth = 0) {
65 65
 		if ($html->getCurrentStyle() != $this->styleName) {
Please login to merge, or discard this patch.
app/Report/ReportPdfFootnote.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 	 *
60 60
 	 * @param ReportTcpdf $renderer
61 61
 	 *
62
-	 * @return float $h
62
+	 * @return integer $h
63 63
 	 */
64 64
 	public function getFootnoteHeight($renderer) {
65 65
 		return 0;
Please login to merge, or discard this patch.
app/Report/ReportPdfText.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	 *
71 71
 	 * @param ReportTcpdf $pdf
72 72
 	 *
73
-	 * @return float 0
73
+	 * @return integer 0
74 74
 	 */
75 75
 	public function getHeight($pdf) {
76 76
 		return 0;
Please login to merge, or discard this patch.