Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ workflows:
version: "8.3"
requires:
- php82
- unit-tests:
name: php84
version: "8.4"
requires:
- php83

jobs:
unit-tests:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"license": "MIT",
"description": "The officially supported client for Postmark (http://postmarkapp.com)",
"require": {
"php": "~8.1 || ~8.2|| ~8.3",
"php": "~8.1 || ~8.2|| ~8.3 || ~8.4",
"guzzlehttp/guzzle": "^7.8"
},
"require-dev": {
Expand Down
6 changes: 3 additions & 3 deletions src/Postmark/PostmarkClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ public function getWebhookConfiguration(int $id): WebhookConfiguration
*
* @throws PostmarkException
*/
public function getWebhookConfigurations(string $messageStream = null): WebhookConfigurationListingResponse
public function getWebhookConfigurations(?string $messageStream = null): WebhookConfigurationListingResponse
{
$query = [];
$query['MessageStream'] = $messageStream;
Expand Down Expand Up @@ -1424,7 +1424,7 @@ public function editWebhookConfiguration(
*
* @throws PostmarkException
*/
public function createSuppressions(array $suppressionChanges = [], string $messageStream = null): PostmarkSuppressionResultList
public function createSuppressions(array $suppressionChanges = [], ?string $messageStream = null): PostmarkSuppressionResultList
{
$body = [];
$body['Suppressions'] = $suppressionChanges;
Expand Down Expand Up @@ -1522,7 +1522,7 @@ public function createMessageStream(string $id, string $messageStreamType, strin
*
* @throws PostmarkException
*/
public function editMessageStream(string $id, string $name = null, ?string $description = null): PostmarkMessageStream
public function editMessageStream(string $id, ?string $name = null, ?string $description = null): PostmarkMessageStream
{
$body = [];
$body['Name'] = $name;
Expand Down