1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Fix falsable issue with strtotime

This commit is contained in:
robchett 2023-10-09 22:20:17 +01:00
parent ae8e740127
commit e677c68842

View File

@ -300,7 +300,7 @@ class BuildInfoCollector
->setCommitterName($head_commit_data['committer']['name'])
->setCommitterEmail($head_commit_data['committer']['email'])
->setMessage($head_commit_data['message'])
->setDate(strtotime($head_commit_data['timestamp'])),
->setDate((int) strtotime($head_commit_data['timestamp'])),
[],
);