File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1111class Range implements LeafAggregationInterface
1212{
1313
14- private \Spameri \ElasticQuery \Aggregation \RangeValueCollection $ ranges ;
15-
16-
1714 public function __construct (
1815 private string $ field ,
1916 private bool $ keyed = false ,
20- \Spameri \ElasticQuery \Aggregation \RangeValueCollection $ rangeValueCollection = null ,
17+ private \Spameri \ElasticQuery \Aggregation \RangeValueCollection $ ranges = new \ Spameri \ ElasticQuery \ Aggregation \ RangeValueCollection () ,
2118 )
2219 {
23- $ this ->ranges = $ rangeValueCollection ?: new \Spameri \ElasticQuery \Aggregation \RangeValueCollection ();
2420 }
2521
2622
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class ResponseCouldNotBeMapped extends \InvalidArgumentException
1111 public function __construct (
1212 string $ message ,
1313 int $ code = 0 ,
14- \Throwable $ previous = null ,
14+ \Throwable | null $ previous = null ,
1515 )
1616 {
1717 parent ::__construct ((string ) \json_encode ($ message ), $ code , $ previous );
You can’t perform that action at this time.
0 commit comments