We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f5f7d2 + 0cdd8a5 commit 4393f18Copy full SHA for 4393f18
src/Payload.php
@@ -676,11 +676,11 @@ public function jsonSerialize(): array
676
$payload[self::PAYLOAD_ROOT_KEY]->{self::PAYLOAD_EVENT_KEY} = $this->event;
677
}
678
679
- if (is_double($this->staleDate)) {
+ if (is_int($this->staleDate)) {
680
$payload[self::PAYLOAD_ROOT_KEY]->{self::PAYLOAD_STALE_DATE_KEY} = $this->staleDate;
681
682
683
- if (is_double($this->timestamp)) {
+ if (is_int($this->timestamp)) {
684
$payload[self::PAYLOAD_ROOT_KEY]->{self::PAYLOAD_TIMESTAMP_KEY} = $this->timestamp;
685
686
0 commit comments