romanpitak / dotMailer-API-v2-PHP-client

PHP client library for the dotMailer v2 (REST) API with MULTIPLE ACCOUNTS SUPPORT!
MIT License
21 stars 31 forks source link

Bug in Resources class. Return is missing #6

Closed AlexandrDmitriev closed 9 years ago

AlexandrDmitriev commented 9 years ago

Missing "return" in DotMailer\Api\Resources\Resources::GetAddressBookContactsUnsubscribedSinceDate

public function      GetAddressBookContactsUnsubscribedSinceDate($addressBookId, $date,     $select = 1000, $skip = 0)
    {
        $url = sprintf("address-books/%s/contacts/unsubscribed-since/%s?    select=%s&skip=%s", $addressBookId, $date, $select, $skip);
        new ApiContactSuppressionList($this->execute($url));
    }