@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | abstract protected function supportsNesting(): bool; |
| 35 | 35 | |
| 36 | - abstract protected function getArray(): array|stdClass|null; |
|
| 36 | + abstract protected function getArray(): array | stdClass | null; |
|
| 37 | 37 | |
| 38 | 38 | public function __construct(string $name) |
| 39 | 39 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | return []; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - public function getAggregation(string $name): AbstractAggregation|BuilderInterface|null |
|
| 80 | + public function getAggregation(string $name): AbstractAggregation | BuilderInterface | null |
|
| 81 | 81 | { |
| 82 | 82 | if ($this->aggregations && $this->aggregations->has($name)) { |
| 83 | 83 | return $this->aggregations->get($name); |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | return 'top_hits'; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | - public function getArray(): array|stdClass |
|
| 90 | + public function getArray(): array | stdClass |
|
| 91 | 91 | { |
| 92 | 92 | $sortsOutput = null; |
| 93 | 93 | $addedSorts = array_filter($this->getSorts()); |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function __construct( |
| 34 | 34 | string $name, |
| 35 | 35 | ?array $filters = [], |
| 36 | - bool $anonymous = false |
|
| 36 | + bool $anonymous = false |
|
| 37 | 37 | ) { |
| 38 | 38 | parent::__construct($name); |
| 39 | 39 | |