summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Kindströmmer <hannes@kindstrommer.se>2017-03-20 14:03:31 +0100
committerHannes Kindströmmer <hannes@kindstrommer.se>2017-03-20 14:03:31 +0100
commitc00d571b52b6072b69cb1f40dbcc7f70f4501de0 (patch)
tree5b64b2f7ea88c76dc2cebc4e8b15372fec44ef53
parent2e6ef5629e2038a196b94b48a673cdc37b783a59 (diff)
downloadip1-php-sdk-c00d571b52b6072b69cb1f40dbcc7f70f4501de0.zip
ip1-php-sdk-c00d571b52b6072b69cb1f40dbcc7f70f4501de0.tar.gz
ip1-php-sdk-c00d571b52b6072b69cb1f40dbcc7f70f4501de0.tar.bz2
Corrected for test feedback
Signed-off-by: Hannes Kindströmmer <hannes@kindstrommer.se>
-rw-r--r--src/Recipient/ProcessedBlacklistEntry.php2
-rw-r--r--tests/Recipient/BlacklistTest.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Recipient/ProcessedBlacklistEntry.php b/src/Recipient/ProcessedBlacklistEntry.php
index 0726a31..9f3792b 100644
--- a/src/Recipient/ProcessedBlacklistEntry.php
+++ b/src/Recipient/ProcessedBlacklistEntry.php
@@ -33,7 +33,7 @@ class ProcessedBlacklistEntry extends BlacklistEntry implements ProcessedCompone
}
/**
* Returns the ID of the ProcessedBlacklistEntry
- * @return int ID of the ProcessedBlacklistEntry
+ * @return integer ID of the ProcessedBlacklistEntry
*/
public function getID(): int
{
diff --git a/tests/Recipient/BlacklistTest.php b/tests/Recipient/BlacklistTest.php
index 09aad45..0962226 100644
--- a/tests/Recipient/BlacklistTest.php
+++ b/tests/Recipient/BlacklistTest.php
@@ -34,6 +34,7 @@ class BlacklistTest extends AbstractEnviromentProvider
{
$blackListEntry = $this->getCommunicator()->add($entry);
$this->assertEquals($entry->getPhoneNumber(), $blackListEntry->getPhoneNumber());
+ return $blackListEntry;
}
public function removeBlacklistEntryToAPI(ProcessedBlacklistEntry $entry): ProcessedBlacklistEntry
{