Skip to content

Commit

Permalink
Merge pull request #355 from DavidPrevot/int
Browse files Browse the repository at this point in the history
Declare SOURCE_DATE_EPOCH as an integer
  • Loading branch information
theseer authored Mar 18, 2019
2 parents fe7a8a6 + e754043 commit 4c04bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4c04bab

Please sign in to comment.