Skip to content

Commit e754043

Browse files
author
David Prévot
committed
Declare SOURCE_DATE_EPOCH as an integer
1 parent fe7a8a6 commit e754043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/Version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getVersion(): string {
2929
}
3030

3131
public function getInfoString() {
32-
return 'phpDox ' . $this->getVersion() . ' - Copyright (C) 2010 - ' . \date('Y', \getenv('SOURCE_DATE_EPOCH') ?: \time()) . ' by Arne Blankerts and Contributors';
32+
return 'phpDox ' . $this->getVersion() . ' - Copyright (C) 2010 - ' . \date('Y', (int)\getenv('SOURCE_DATE_EPOCH') ?: \time()) . ' by Arne Blankerts and Contributors';
3333
}
3434

3535
public function getGeneratedByString() {

0 commit comments

Comments
 (0)