diff --git a/src/Model/Webhook/IndexResponse.php b/src/Model/Webhook/IndexResponse.php index a22f0fb..e92d066 100644 --- a/src/Model/Webhook/IndexResponse.php +++ b/src/Model/Webhook/IndexResponse.php @@ -98,7 +98,6 @@ final class IndexResponse implements ApiResponse return $this->legacy_open['url'] ?? null; } - public function getClickedUrls(): ?array { return $this->clicked['urls'] ?? null; diff --git a/tests/Model/Webhook/IndexResponseTest.php b/tests/Model/Webhook/IndexResponseTest.php index 9a94626..4a513c5 100644 --- a/tests/Model/Webhook/IndexResponseTest.php +++ b/tests/Model/Webhook/IndexResponseTest.php @@ -78,7 +78,7 @@ JSON; $this->assertNull($model->getClickUrl()); $this->assertNull($model->getOpenUrl()); } - + public function testLegacy() { $json =