X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FTemporal.php;h=6a331104eec74caaf50f62de5c551aedb85c52a4;hb=b8f85f0484fbb1f37e9cae2f4cf98f9349fda099;hp=d08db24504ec50b9df470d83c71819bf86f18294;hpb=118e737a49b87d508252b8fc4104c18d503e4e68;p=friendica.git diff --git a/src/Util/Temporal.php b/src/Util/Temporal.php index d08db24504..6a331104ee 100644 --- a/src/Util/Temporal.php +++ b/src/Util/Temporal.php @@ -126,7 +126,7 @@ class Temporal * @return string Formatted HTML * @throws \Exception */ - public static function getDateofBirthField($dob, $timezone = 'UTC') + public static function getDateofBirthField(string $dob, string $timezone = 'UTC') { list($year, $month, $day) = sscanf($dob, '%4d-%2d-%2d');