Completed
Push — develop ( 0fd37b...5cb4f0 )
by Greg
13:35
created
app/Module/CensusAssistantModule.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
 	 * @param string          $ca_title
287 287
 	 * @param string          $ca_place
288 288
 	 * @param string          $ca_citation
289
-	 * @param string[][]      $ca_individuals
289
+	 * @param string[]      $ca_individuals
290 290
 	 * @param string          $ca_notes
291 291
 	 *
292 292
 	 * @return string
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -20,11 +20,8 @@
 block discarded – undo
20 20
 use Fisharebest\Webtrees\Census\CensusInterface;
21 21
 use Fisharebest\Webtrees\Family;
22 22
 use Fisharebest\Webtrees\Filter;
23
-use Fisharebest\Webtrees\FontAwesome;
24 23
 use Fisharebest\Webtrees\Functions\FunctionsDb;
25
-use Fisharebest\Webtrees\Functions\FunctionsEdit;
26 24
 use Fisharebest\Webtrees\GedcomRecord;
27
-use Fisharebest\Webtrees\Html;
28 25
 use Fisharebest\Webtrees\I18N;
29 26
 use Fisharebest\Webtrees\Individual;
30 27
 
Please login to merge, or discard this patch.
app/Controller/GedcomRecordController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\Auth;
19 19
 use Fisharebest\Webtrees\Family;
20
-use Fisharebest\Webtrees\Filter;
21 20
 use Fisharebest\Webtrees\FlashMessages;
22 21
 use Fisharebest\Webtrees\GedcomRecord;
23 22
 use Fisharebest\Webtrees\GedcomTag;
Please login to merge, or discard this patch.
admin_site_upgrade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 // Check for updates
30 30
 $latest_version_txt = Functions::fetchLatestVersion();
31 31
 if (preg_match('/^[0-9.]+\|[0-9.]+\|/', $latest_version_txt)) {
32
-	list($latest_version, , $download_url) = explode('|', $latest_version_txt);
32
+	list($latest_version,, $download_url) = explode('|', $latest_version_txt);
33 33
 } else {
34 34
 	// Cannot determine the latest version
35
-	list($latest_version, , $download_url) = explode('|', '||');
35
+	list($latest_version,, $download_url) = explode('|', '||');
36 36
 }
37 37
 
38 38
 $latest_version_html = '<span dir="ltr">' . $latest_version . '</span>';
Please login to merge, or discard this patch.
app/Module/ClippingsCartModule.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Fisharebest\Webtrees\Family;
21 21
 use Fisharebest\Webtrees\Filter;
22 22
 use Fisharebest\Webtrees\GedcomRecord;
23
-use Fisharebest\Webtrees\Html;
24 23
 use Fisharebest\Webtrees\I18N;
25 24
 use Fisharebest\Webtrees\Individual;
26 25
 use Fisharebest\Webtrees\Menu;
Please login to merge, or discard this patch.
app/Statement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 	 *
107 107
 	 * @param int $fetch_style
108 108
 	 *
109
-	 * @return stdClass|array|false
109
+	 * @return Tree
110 110
 	 */
111 111
 	public function fetch($fetch_style = PDO::FETCH_OBJ) {
112 112
 		if (!$this->executed) {
Please login to merge, or discard this patch.
app/View.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	/**
33 33
 	 * Createa view from a template name and optional data.
34 34
 	 *
35
-	 * @param       $name
35
+	 * @param       string $name
36 36
 	 * @param array $data
37 37
 	 */
38 38
 	public function __construct($name, $data = []) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	 * @return string
63 63
 	 */
64 64
 	public static function getFilenameForView($view_name) {
65
-		$view_file  = $view_name . '.php';
65
+		$view_file = $view_name . '.php';
66 66
 		//$theme_view = WT_THEMES_DIR . Theme::theme()->themeId() . '/resources/views/' . $view_file;
67 67
 
68 68
 		//if (file_exists($theme_view)) {
Please login to merge, or discard this patch.
app/Controller/SearchController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 
18 18
 use Fisharebest\Webtrees\Auth;
19 19
 use Fisharebest\Webtrees\Bootstrap4;
20
-use Fisharebest\Webtrees\Config;
21 20
 use Fisharebest\Webtrees\Family;
22 21
 use Fisharebest\Webtrees\Filter;
23 22
 use Fisharebest\Webtrees\FlashMessages;
Please login to merge, or discard this patch.
app/CommonMark/CensusTableExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	/**
38 38
 	 * Returns a list of block parsers to add to the existing list
39 39
 	 *
40
-	 * @return BlockParserInterface[]
40
+	 * @return CensusTableParser[]
41 41
 	 */
42 42
 	public function getBlockParsers() {
43 43
 		return [
Please login to merge, or discard this patch.
app/CommonMark/XrefExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	}
36 36
 
37 37
 	/**
38
-	 * @return array
38
+	 * @return XrefParser[]
39 39
 	 */
40 40
 	public function getInlineParsers() {
41 41
 		return [
Please login to merge, or discard this patch.