aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_date.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib_date.php')
-rw-r--r--lib/lib_date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_date.php b/lib/lib_date.php
index ee8bf92f6..201d548ad 100644
--- a/lib/lib_date.php
+++ b/lib/lib_date.php
@@ -36,7 +36,7 @@ example('PT6M/');
example('PT7S/');
example('P1DT1H/');
-function example(string $dateInterval) {
+function example(string $dateInterval): void {
$dateIntervalArray = parseDateInterval($dateInterval);
echo $dateInterval, "\t=>\t",
$dateIntervalArray[0] == null ? 'null' : @date('c', $dateIntervalArray[0]), '/',