summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/GedcomRecordController.php7
-rw-r--r--app/Module.php6
-rw-r--r--app/Query/Media.php2
3 files changed, 10 insertions, 5 deletions
diff --git a/app/Controller/GedcomRecordController.php b/app/Controller/GedcomRecordController.php
index 88551666f9..f08c0911df 100644
--- a/app/Controller/GedcomRecordController.php
+++ b/app/Controller/GedcomRecordController.php
@@ -20,7 +20,12 @@ namespace Fisharebest\Webtrees;
* Class GedcomRecordController - Base controller for all GedcomRecord controllers
*/
class GedcomRecordController extends PageController {
- public $record; // individual, source, repository, etc.
+ /**
+ * A genealogy record
+ *
+ * @var GedcomRecord|Individual|Family|Source|Repository|Media|Note
+ */
+ public $record;
/**
* Startup activity
diff --git a/app/Module.php b/app/Module.php
index c9fdf2b8b4..992360be66 100644
--- a/app/Module.php
+++ b/app/Module.php
@@ -334,7 +334,7 @@ abstract class Module {
* @param integer $tree_id
* @param integer $access_level
*
- * @return $controller = new ModuleReportInterface[]
+ * @return ModuleReportInterface[]
*/
public static function getActiveReports($tree_id = WT_GED_ID, $access_level = WT_USER_ACCESS_LEVEL) {
static $reports;
@@ -352,7 +352,7 @@ abstract class Module {
* @param integer $tree_id
* @param integer $access_level
*
- * @return oduleSidebarInterface[]
+ * @return ModuleSidebarInterface[]
*/
public static function getActiveSidebars($tree_id = WT_GED_ID, $access_level = WT_USER_ACCESS_LEVEL) {
static $sidebars;
@@ -388,7 +388,7 @@ abstract class Module {
* @param integer $tree_id
* @param integer $access_level
*
- * @return $controller = new ModuleThemeInterface[]
+ * @return ModuleThemeInterface[]
*/
public static function getActiveThemes($tree_id = WT_GED_ID, $access_level = WT_USER_ACCESS_LEVEL) {
static $themes;
diff --git a/app/Query/Media.php b/app/Query/Media.php
index d44a4ca59b..13d6cc3559 100644
--- a/app/Query/Media.php
+++ b/app/Query/Media.php
@@ -78,7 +78,7 @@ class WT_Query_Media {
* @param string $filter optional search string
*
* @return Media[]
- * @throws Exception
+ * @throws \Exception
*/
public static function mediaList($folder, $subfolders, $sort, $filter) {
// All files in the folder, plus external files