Skip to content

Commit 8cfc951

Browse files
karyna-tezimuel
authored andcommitted
Replace trait with abstract class to avoid Deprecated Functionality issue in PHP 8.1 (#1175)
* Replace trait with abstract class to avoid deprecation functionality issue * fix phpcs fail
1 parent 37f33fb commit 8cfc951

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Elasticsearch/Endpoints/Ml/PostData.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,4 @@ public function setJobId($job_id): PostData
8989

9090
return $this;
9191
}
92-
9392
}

src/Elasticsearch/Namespaces/BooleanRequestWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
use Elasticsearch\Transport;
2525
use GuzzleHttp\Ring\Future\FutureArrayInterface;
2626

27-
trait BooleanRequestWrapper
27+
abstract class BooleanRequestWrapper
2828
{
2929
/**
3030
* Perform Request

0 commit comments

Comments
 (0)