diff --git a/src/Postmark/PostmarkClient.php b/src/Postmark/PostmarkClient.php index b3b6234..b2b5e66 100644 --- a/src/Postmark/PostmarkClient.php +++ b/src/Postmark/PostmarkClient.php @@ -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; @@ -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; @@ -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;