Skip to content

Commit

Permalink
remove deprecated and not used Serializable interface and un-implemen…
Browse files Browse the repository at this point in the history
…ted methods
  • Loading branch information
scottaubrey committed Nov 8, 2024
1 parent 6604442 commit 9c89ee6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
10 changes: 0 additions & 10 deletions src/Search/Api/Elasticsearch/Response/SearchResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'])) {
Expand Down
3 changes: 1 addition & 2 deletions src/Search/Api/Query/QueryResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9c89ee6

Please sign in to comment.