Skip to content

Commit

Permalink
Replace trait with abstract class to avoid Deprecated Functionality i…
Browse files Browse the repository at this point in the history
…ssue in PHP 8.1 (#1175)

* Replace trait with abstract class to avoid deprecation functionality issue

* fix phpcs fail
  • Loading branch information
karyna-t authored Dec 7, 2021
1 parent 3df6517 commit 26a902d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Elasticsearch/Endpoints/Ml/PostData.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,4 @@ public function setJobId($job_id): PostData

return $this;
}

}
2 changes: 1 addition & 1 deletion src/Elasticsearch/Namespaces/BooleanRequestWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Elasticsearch\Transport;
use GuzzleHttp\Ring\Future\FutureArrayInterface;

trait BooleanRequestWrapper
abstract class BooleanRequestWrapper
{
/**
* Perform Request
Expand Down

0 comments on commit 26a902d

Please sign in to comment.