diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-01-04 14:23:08 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-01-04 14:51:02 +0000 |
| commit | 16d6367af0fc87302889bd9d5831cab67c1a54f0 (patch) | |
| tree | f66987e45087e3e4c142f7aeeaab49fcbbd1469b /app/Family.php | |
| parent | f24adca2d962c9962cf8af5a837b10d27fc635c1 (diff) | |
| download | webtrees-16d6367af0fc87302889bd9d5831cab67c1a54f0.tar.gz webtrees-16d6367af0fc87302889bd9d5831cab67c1a54f0.tar.bz2 webtrees-16d6367af0fc87302889bd9d5831cab67c1a54f0.zip | |
Add visibility to constants
Diffstat (limited to 'app/Family.php')
| -rw-r--r-- | app/Family.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Family.php b/app/Family.php index 6a6a023fc6..550e8c5c57 100644 --- a/app/Family.php +++ b/app/Family.php @@ -24,8 +24,9 @@ use Illuminate\Database\Capsule\Manager as DB; */ class Family extends GedcomRecord { - const RECORD_TYPE = 'FAM'; - const ROUTE_NAME = 'family'; + public const RECORD_TYPE = 'FAM'; + + protected const ROUTE_NAME = 'family'; /** @var Individual|null The husband (or first spouse for same-sex couples) */ private $husb; |
