summaryrefslogtreecommitdiff
path: root/app/Census/CensusColumnSexF.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-11-22 23:58:56 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-11-22 23:58:56 +0000
commite873f434551745f888937263ff89e80db3b0f785 (patch)
treec2ccdc2f7e9eb84a336dedcb75f4953fd46a6745 /app/Census/CensusColumnSexF.php
parent95a8620a270e22e753770d980faee3cdf53d5566 (diff)
downloadwebtrees-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.php6
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.