diff --git a/src/Search/Api/Elasticsearch/Response/SearchResponse.php b/src/Search/Api/Elasticsearch/Response/SearchResponse.php index a16c1731..76dd4f1c 100644 --- a/src/Search/Api/Elasticsearch/Response/SearchResponse.php +++ b/src/Search/Api/Elasticsearch/Response/SearchResponse.php @@ -53,16 +53,6 @@ public function rewind(): void $this->cursor = 0; } - public function serialize() - { - // TODO: Implement serialize() method. - } - - public function unserialize($serialized) - { - // TODO: Implement unserialize() method. - } - public function getTypeTotals() : array { if (isset($this->aggregations['type_agg']['buckets'])) { diff --git a/src/Search/Api/Query/QueryResponse.php b/src/Search/Api/Query/QueryResponse.php index 1fb9b923..cfad684c 100644 --- a/src/Search/Api/Query/QueryResponse.php +++ b/src/Search/Api/Query/QueryResponse.php @@ -3,9 +3,8 @@ namespace eLife\Search\Api\Query; use Iterator; -use Serializable; -interface QueryResponse extends Iterator, Serializable +interface QueryResponse extends Iterator { public function getTotalResults() : int;