File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535use Postmark \Models \Stats \PostmarkOutboundSentStats ;
3636use Postmark \Models \Stats \PostmarkOutboundSpamComplaintStats ;
3737use Postmark \Models \Stats \PostmarkOutboundTrackedStats ;
38+ use Postmark \Models \Suppressions \PostmarkSuppressionList ;
3839use Postmark \Models \Suppressions \PostmarkSuppressionResultList ;
3940use Postmark \Models \TemplatedPostmarkMessage ;
4041use Postmark \Models \TemplateValidationResponse ;
@@ -1473,7 +1474,7 @@ public function getSuppressions(
14731474 ?string $ fromDate = null ,
14741475 ?string $ toDate = null ,
14751476 ?string $ emailAddress = null
1476- ): PostmarkSuppressionResultList {
1477+ ): PostmarkSuppressionList {
14771478 $ query = [];
14781479 $ query ['SuppressionReason ' ] = $ suppressionReason ;
14791480 $ query ['Origin ' ] = $ origin ;
@@ -1485,7 +1486,7 @@ public function getSuppressions(
14851486 $ messageStream = 'outbound ' ;
14861487 }
14871488
1488- return new PostmarkSuppressionResultList ((array ) $ this ->processRestRequest ('GET ' , "/message-streams/ {$ messageStream }/suppressions/dump " , $ query ));
1489+ return new PostmarkSuppressionList ((array ) $ this ->processRestRequest ('GET ' , "/message-streams/ {$ messageStream }/suppressions/dump " , $ query ));
14891490 }
14901491
14911492 /**
You can’t perform that action at this time.
0 commit comments