diff --git a/src/shared/Version.php b/src/shared/Version.php index a5f0619f..ca4deb17 100644 --- a/src/shared/Version.php +++ b/src/shared/Version.php @@ -29,7 +29,7 @@ public function getVersion(): string { } public function getInfoString() { - return 'phpDox ' . $this->getVersion() . ' - Copyright (C) 2010 - ' . \date('Y', \getenv('SOURCE_DATE_EPOCH') ?: \time()) . ' by Arne Blankerts and Contributors'; + return 'phpDox ' . $this->getVersion() . ' - Copyright (C) 2010 - ' . \date('Y', (int)\getenv('SOURCE_DATE_EPOCH') ?: \time()) . ' by Arne Blankerts and Contributors'; } public function getGeneratedByString() {