diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2024-11-22 23:58:56 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2024-11-22 23:58:56 +0000 |
| commit | e873f434551745f888937263ff89e80db3b0f785 (patch) | |
| tree | c2ccdc2f7e9eb84a336dedcb75f4953fd46a6745 /app/Census/CensusColumnSexF.php | |
| parent | 95a8620a270e22e753770d980faee3cdf53d5566 (diff) | |
| download | webtrees-e873f434551745f888937263ff89e80db3b0f785.tar.gz webtrees-e873f434551745f888937263ff89e80db3b0f785.tar.bz2 webtrees-e873f434551745f888937263ff89e80db3b0f785.zip | |
PHP 8.3 allows class constants to have type hints
Diffstat (limited to 'app/Census/CensusColumnSexF.php')
| -rw-r--r-- | app/Census/CensusColumnSexF.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Census/CensusColumnSexF.php b/app/Census/CensusColumnSexF.php index 55d0dd71b7..82655c366b 100644 --- a/app/Census/CensusColumnSexF.php +++ b/app/Census/CensusColumnSexF.php @@ -26,11 +26,11 @@ use Fisharebest\Webtrees\Individual; */ class CensusColumnSexF extends AbstractCensusColumn implements CensusColumnInterface { - protected const MALE = 'M'; + protected const string MALE = 'M'; - protected const FEMALE = 'F'; + protected const string FEMALE = 'F'; - protected const X = 'X'; + protected const string X = 'X'; /** * Generate the likely value of this census column, based on available information. |
