diff --git a/src/GeometryCast.php b/src/GeometryCast.php index 3020393..48e1d65 100644 --- a/src/GeometryCast.php +++ b/src/GeometryCast.php @@ -29,7 +29,6 @@ public function __construct(string $className) * @param string $key * @param string|Expression|null $wkbOrWKt * @param array $attributes - * * @return Geometry|null */ public function get($model, string $key, $wkbOrWKt, array $attributes): ?Geometry @@ -52,7 +51,6 @@ public function get($model, string $key, $wkbOrWKt, array $attributes): ?Geometr * @param string $key * @param Geometry|mixed|null $geometry * @param array $attributes - * * @return Expression|null * * @throws InvalidArgumentException diff --git a/src/Objects/Geometry.php b/src/Objects/Geometry.php index bd8e6df..72cdf8a 100644 --- a/src/Objects/Geometry.php +++ b/src/Objects/Geometry.php @@ -20,7 +20,6 @@ abstract public function toWkt(bool $withFunction = true): string; /** * @param int $options - * * @return string * * @throws JsonException @@ -32,7 +31,6 @@ public function toJson($options = 0): string /** * @param string $wkb - * * @return static * * @throws InvalidArgumentException @@ -52,7 +50,6 @@ public static function fromWkb(string $wkb): static /** * @param string $wkt - * * @return static * * @throws InvalidArgumentException @@ -72,7 +69,6 @@ public static function fromWkt(string $wkt): static /** * @param string $geoJson - * * @return static * * @throws InvalidArgumentException @@ -147,7 +143,6 @@ abstract public function getCoordinates(): array; /** * @param array $arguments - * * @return CastsAttributes */ public static function castUsing(array $arguments): CastsAttributes diff --git a/src/Objects/GeometryCollection.php b/src/Objects/GeometryCollection.php index 6c37ad2..6a57e35 100644 --- a/src/Objects/GeometryCollection.php +++ b/src/Objects/GeometryCollection.php @@ -43,7 +43,6 @@ public function __construct(Collection|array $geometries) /** * @param bool $withFunction - * * @return string * * @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter @@ -95,7 +94,6 @@ public function getGeometries(): Collection /** * @param int $offset - * * @return bool */ public function offsetExists($offset): bool @@ -105,7 +103,6 @@ public function offsetExists($offset): bool /** * @param int $offset - * * @return TGeometry|null */ public function offsetGet($offset): ?Geometry diff --git a/src/Objects/MultiLineString.php b/src/Objects/MultiLineString.php index 9faddbb..9aa52ac 100644 --- a/src/Objects/MultiLineString.php +++ b/src/Objects/MultiLineString.php @@ -18,7 +18,6 @@ class MultiLineString extends GeometryCollection /** * @param bool $withFunction - * * @return string * * @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter diff --git a/src/Objects/MultiPoint.php b/src/Objects/MultiPoint.php index 9dde2ee..49cd2e0 100644 --- a/src/Objects/MultiPoint.php +++ b/src/Objects/MultiPoint.php @@ -10,7 +10,6 @@ class MultiPoint extends PointCollection /** * @param bool $withFunction - * * @return string * * @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter diff --git a/src/Objects/MultiPolygon.php b/src/Objects/MultiPolygon.php index 0a89b04..14a8c1a 100644 --- a/src/Objects/MultiPolygon.php +++ b/src/Objects/MultiPolygon.php @@ -18,7 +18,6 @@ class MultiPolygon extends GeometryCollection /** * @param bool $withFunction - * * @return string * * @phpcsSuppress SlevomatCodingStandard.Functions.UnusedParameter