diff options
author | Hannes Kindströmmer <hannes@kindstrommer.se> | 2017-03-16 11:53:12 +0100 |
---|---|---|
committer | Hannes Kindströmmer <hannes@kindstrommer.se> | 2017-03-16 11:53:12 +0100 |
commit | 9e2904fb56f7cf9e924b140530f15f26c02dba35 (patch) | |
tree | 06edc82ce31b9e2effcb37224e7b50c0194153f3 /src | |
parent | 3629f3f2c4af0fa6b6e7d736b8001afc2bbdb747 (diff) | |
download | ip1-php-sdk-9e2904fb56f7cf9e924b140530f15f26c02dba35.zip ip1-php-sdk-9e2904fb56f7cf9e924b140530f15f26c02dba35.tar.gz ip1-php-sdk-9e2904fb56f7cf9e924b140530f15f26c02dba35.tar.bz2 |
Fixed issue #16
Signed-off-by: Hannes Kindströmmer <hannes@kindstrommer.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/Recipient/MembershipRelationInterface.php (renamed from src/Recipient/MembershipRelation.php) | 2 | ||||
-rw-r--r-- | src/Recipient/ProcessedContact.php | 4 | ||||
-rw-r--r-- | src/Recipient/ProcessedGroup.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Recipient/MembershipRelation.php b/src/Recipient/MembershipRelationInterface.php index 945ca2e..bb159c2 100644 --- a/src/Recipient/MembershipRelation.php +++ b/src/Recipient/MembershipRelationInterface.php @@ -19,7 +19,7 @@ use IP1\RESTClient\Core\ClassValidationArray; * @link http://api.ip1sms.com/Help/Api/GET-api-memberships * @package \IP1\RESTClient\Recipient */ -interface MembershipRelation +interface MembershipRelationInterface { /** * Returns an array of all the memberships diff --git a/src/Recipient/ProcessedContact.php b/src/Recipient/ProcessedContact.php index 7a32670..87a637f 100644 --- a/src/Recipient/ProcessedContact.php +++ b/src/Recipient/ProcessedContact.php @@ -14,14 +14,14 @@ namespace IP1\RESTClient\Recipient; use IP1\RESTClient\Core\UpdatableComponentInterface; use IP1\RESTClient\Recipient\Membership; use IP1\RESTClient\Recipient\RecipientFactory; -use IP1\RESTClient\Recipient\MembershipRelation; +use IP1\RESTClient\Recipient\MembershipRelationInterface; use IP1\RESTClient\Core\Communicator; use IP1\RESTClient\Core\ClassValidationArray; /** * A Contact that has been added to the API. Has all the options that a normal Contact has. */ -class ProcessedContact extends Contact implements UpdatableComponentInterface, MembershipRelation +class ProcessedContact extends Contact implements UpdatableComponentInterface, MembershipRelationInterface { /** * The ID of the Contact given by the API. diff --git a/src/Recipient/ProcessedGroup.php b/src/Recipient/ProcessedGroup.php index ecd1dc6..eef4f79 100644 --- a/src/Recipient/ProcessedGroup.php +++ b/src/Recipient/ProcessedGroup.php @@ -19,7 +19,7 @@ use IP1\RESTClient\Recipient\ProcessedMembership; /** * */ -class ProcessedGroup extends Group implements UpdatableComponentInterface, MembershipRelation +class ProcessedGroup extends Group implements UpdatableComponentInterface, MembershipRelationInterface { /** * The ID of the Group given by the API. |