We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68697f8 commit 45cbee1Copy full SHA for 45cbee1
src/PushoverMessage.php
@@ -363,8 +363,8 @@ public function toArray(): array
363
'image' => $this->image,
364
'retry' => $this->retry,
365
'expire' => $this->expire,
366
- 'html' => $this->format === static::FORMAT_HTML,
367
- 'monospace' => $this->format === static::FORMAT_MONOSPACE,
+ 'html' => $this->format === static::FORMAT_HTML ? 1 : 0,
+ 'monospace' => $this->format === static::FORMAT_MONOSPACE ? 1 : 0,
368
'callback' => $this->callback,
369
];
370
}
0 commit comments