diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/CompoundSearchOperatorInterface.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/CompoundSearchOperatorInterface.php index c2fe830c65..2aaa4202cd 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/CompoundSearchOperatorInterface.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/CompoundSearchOperatorInterface.php @@ -4,6 +4,13 @@ namespace Doctrine\ODM\MongoDB\Aggregation\Stage\Search; +use GeoJson\Geometry\LineString; +use GeoJson\Geometry\MultiPolygon; +use GeoJson\Geometry\Point; +use GeoJson\Geometry\Polygon; +use MongoDB\BSON\ObjectId; +use MongoDB\BSON\UTCDateTime; + interface CompoundSearchOperatorInterface extends SupportsCompoundableSearchOperators { public function must(): Compound; @@ -13,4 +20,39 @@ public function mustNot(): Compound; public function should(?int $minimumShouldMatch = null): Compound; public function filter(): Compound; + + public function autocomplete(string $path = '', string ...$query): Autocomplete&CompoundSearchOperatorInterface; + + public function embeddedDocument(string $path = ''): EmbeddedDocument&CompoundSearchOperatorInterface; + + /** @param string|int|float|ObjectId|UTCDateTime|null $value */ + public function equals(string $path = '', $value = null): Equals&CompoundSearchOperatorInterface; + + public function exists(string $path): Exists&CompoundSearchOperatorInterface; + + /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ + public function geoShape($geometry = null, string $relation = '', string ...$path): GeoShape&CompoundSearchOperatorInterface; + + public function geoWithin(string ...$path): GeoWithin&CompoundSearchOperatorInterface; + + /** @param array|object $documents */ + public function moreLikeThis(...$documents): MoreLikeThis&CompoundSearchOperatorInterface; + + /** + * @param int|float|UTCDateTime|array|Point|null $origin + * @param int|float|null $pivot + */ + public function near($origin = null, $pivot = null, string ...$path): Near&CompoundSearchOperatorInterface; + + public function phrase(): Phrase&CompoundSearchOperatorInterface; + + public function queryString(string $query = '', string $defaultPath = ''): QueryString&CompoundSearchOperatorInterface; + + public function range(): Range&CompoundSearchOperatorInterface; + + public function regex(): Regex&CompoundSearchOperatorInterface; + + public function text(): Text&CompoundSearchOperatorInterface; + + public function wildcard(): Wildcard&CompoundSearchOperatorInterface; } diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsAllSearchOperatorsTrait.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsAllSearchOperatorsTrait.php index efb1d89d79..ad8591d0e5 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsAllSearchOperatorsTrait.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsAllSearchOperatorsTrait.php @@ -52,7 +52,7 @@ public function exists(string $path): Exists return $this->addOperator(new Exists($this->getSearchStage(), $path)); } - /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ + /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ public function geoShape($geometry = null, string $relation = '', string ...$path): GeoShape { return $this->addOperator(new GeoShape($this->getSearchStage(), $geometry, $relation, ...$path)); @@ -70,8 +70,8 @@ public function moreLikeThis(...$documents): MoreLikeThis } /** - * @param int|float|UTCDateTime|array|Point|null $origin - * @param int|float|null $pivot + * @param int|float|UTCDateTime|array|Point|null $origin + * @param int|float|null $pivot */ public function near($origin = null, $pivot = null, string ...$path): Near { diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsCompoundableOperatorsTrait.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsCompoundableOperatorsTrait.php index 684cc5e38d..51dee61010 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsCompoundableOperatorsTrait.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsCompoundableOperatorsTrait.php @@ -45,103 +45,79 @@ abstract protected function getAddOperatorClosure(): Closure; */ abstract protected function addOperator(SearchOperator $operator): SearchOperator; - /** return Autocomplete&CompoundSearchOperatorInterface */ - public function autocomplete(string $path = '', string ...$query): Autocomplete + public function autocomplete(string $path = '', string ...$query): Autocomplete&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedAutocomplete($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $path, ...$query)); } - /** @return EmbeddedDocument&CompoundSearchOperatorInterface */ - public function embeddedDocument(string $path = ''): EmbeddedDocument + public function embeddedDocument(string $path = ''): EmbeddedDocument&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedEmbeddedDocument($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $path)); } - /** - * @param string|int|float|ObjectId|UTCDateTime|null $value - * - * @return Equals&CompoundSearchOperatorInterface - */ - public function equals(string $path = '', $value = null): Equals + /** @param string|int|float|ObjectId|UTCDateTime|null $value */ + public function equals(string $path = '', $value = null): Equals&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedEquals($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $path, $value)); } - /** @return Exists&CompoundSearchOperatorInterface */ - public function exists(string $path): Exists + public function exists(string $path): Exists&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedExists($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $path)); } - /** - * @param LineString|Point|Polygon|MultiPolygon|array|null $geometry - * - * @return GeoShape&CompoundSearchOperatorInterface - */ - public function geoShape($geometry = null, string $relation = '', string ...$path): GeoShape + /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ + public function geoShape($geometry = null, string $relation = '', string ...$path): GeoShape&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedGeoShape($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $geometry, $relation, ...$path)); } - /** @return GeoWithin&CompoundSearchOperatorInterface */ - public function geoWithin(string ...$path): GeoWithin + public function geoWithin(string ...$path): GeoWithin&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedGeoWithin($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), ...$path)); } - /** - * @param array|object $documents - * - * @return MoreLikeThis&CompoundSearchOperatorInterface - */ - public function moreLikeThis(...$documents): MoreLikeThis + /** @param array|object $documents */ + public function moreLikeThis(...$documents): MoreLikeThis&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedMoreLikeThis($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), ...$documents)); } /** - * @param int|float|UTCDateTime|array|Point|null $origin - * @param int|float|null $pivot - * - * @return Near&CompoundSearchOperatorInterface + * @param int|float|UTCDateTime|array|Point|null $origin + * @param int|float|null $pivot */ - public function near($origin = null, $pivot = null, string ...$path): Near + public function near($origin = null, $pivot = null, string ...$path): Near&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedNear($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $origin, $pivot, ...$path)); } - /** @return Phrase&CompoundSearchOperatorInterface */ - public function phrase(): Phrase + public function phrase(): Phrase&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedPhrase($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage())); } - /** @return QueryString&CompoundSearchOperatorInterface */ - public function queryString(string $query = '', string $defaultPath = ''): QueryString + public function queryString(string $query = '', string $defaultPath = ''): QueryString&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedQueryString($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage(), $query, $defaultPath)); } - /** @return Range&CompoundSearchOperatorInterface */ - public function range(): Range + public function range(): Range&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedRange($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage())); } - /** @return Regex&CompoundSearchOperatorInterface */ - public function regex(): Regex + public function regex(): Regex&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedRegex($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage())); } - /** @return Text&CompoundSearchOperatorInterface */ - public function text(): Text + public function text(): Text&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedText($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage())); } - /** @return Wildcard&CompoundSearchOperatorInterface */ - public function wildcard(): Wildcard + public function wildcard(): Wildcard&CompoundSearchOperatorInterface { return $this->addOperator(new CompoundedWildcard($this->getCompoundStage(), $this->getAddOperatorClosure(), $this->getSearchStage())); } diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsGeoShapeOperator.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsGeoShapeOperator.php index 74dd3a9bf1..73988ea090 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsGeoShapeOperator.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsGeoShapeOperator.php @@ -11,6 +11,6 @@ interface SupportsGeoShapeOperator { - /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ + /** @param LineString|Point|Polygon|MultiPolygon|array|null $geometry */ public function geoShape($geometry = null, string $relation = '', string ...$path): GeoShape; } diff --git a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsNearOperator.php b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsNearOperator.php index 31fc8b477e..ee9eca6f3b 100644 --- a/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsNearOperator.php +++ b/lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsNearOperator.php @@ -10,8 +10,8 @@ interface SupportsNearOperator { /** - * @param int|float|UTCDateTime|array|Point|null $origin - * @param int|float|null $pivot + * @param int|float|UTCDateTime|array|Point|null $origin + * @param int|float|null $pivot */ public function near($origin = null, $pivot = null, string ...$path): Near; } diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 48b5278f04..793228c5e8 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -222,294 +222,90 @@ parameters: count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Out.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedAutocomplete\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedAutocomplete.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedAutocomplete\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedAutocomplete.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedAutocomplete\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedAutocomplete.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEmbeddedDocument\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEmbeddedDocument.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEmbeddedDocument\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEmbeddedDocument.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEmbeddedDocument\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEmbeddedDocument.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEquals\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEquals.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEquals\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEquals.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedEquals\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedEquals.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedExists\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedExists.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedExists\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedExists.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedExists\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedExists.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoShape\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoShape.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoShape\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoShape.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoShape\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoShape.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoWithin\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoWithin.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoWithin\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoWithin.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedGeoWithin\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedGeoWithin.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedMoreLikeThis\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedMoreLikeThis.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedMoreLikeThis\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedMoreLikeThis.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedMoreLikeThis\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedMoreLikeThis.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedNear\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedNear.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedNear\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedNear.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedNear\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedNear.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedPhrase\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedPhrase.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedPhrase\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedPhrase.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedPhrase\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedPhrase.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedQueryString\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedQueryString.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedQueryString\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedQueryString.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedQueryString\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedQueryString.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRange\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRange.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRange\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRange.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRange\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRange.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRegex\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRegex.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRegex\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRegex.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedRegex\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedRegex.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedText\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedText.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedText\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedText.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedText\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedText.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedWildcard\:\:__construct\(\) has parameter \$args with no type specified\.$#' identifier: missingType.parameter count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedWildcard.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedWildcard\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedWildcard.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\Compound\\CompoundedWildcard\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Compound/CompoundedWildcard.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\EmbeddedDocument\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/EmbeddedDocument.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\EmbeddedDocument\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/EmbeddedDocument.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\GeoShape\:\:__construct\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' identifier: missingType.iterableValue @@ -600,18 +396,6 @@ parameters: count: 1 path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/Range.php - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\SupportsGeoShapeOperator\:\:geoShape\(\) has parameter \$geometry with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsGeoShapeOperator.php - - - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\Search\\SupportsNearOperator\:\:near\(\) has parameter \$origin with no value type specified in iterable type array\.$#' - identifier: missingType.iterableValue - count: 1 - path: lib/Doctrine/ODM/MongoDB/Aggregation/Stage/Search/SupportsNearOperator.php - - message: '#^Method Doctrine\\ODM\\MongoDB\\Aggregation\\Stage\\SortByCount\:\:__construct\(\) has parameter \$class with generic class Doctrine\\ODM\\MongoDB\\Mapping\\ClassMetadata but does not specify its types\: T$#' identifier: missingType.generics