From d819fbad15d70e06edbbcc48d337c1f83f91721f Mon Sep 17 00:00:00 2001 From: Damon Williams Date: Tue, 9 Jun 2015 17:09:56 +0100 Subject: [PATCH] Changed cleanInbox from protected to public to enable inbox to be cleared mid-test Changed cleanInbox from protected to public to enable inbox to be cleared mid-test --- src/Mailtrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mailtrap.php b/src/Mailtrap.php index 13a1ddf..c09a251 100644 --- a/src/Mailtrap.php +++ b/src/Mailtrap.php @@ -223,7 +223,7 @@ protected function fetchLastMessage() * * @return void */ - protected function cleanInbox() + public function cleanInbox() { $this->client->patch("inboxes/{$this->config['inbox_id']}/clean"); }