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:
parent
ae8e740127
commit
e677c68842
@ -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'])),
|
||||
[],
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user