From 31cba5b38d14d03cd5914af4ec28cd2c0164ae9c Mon Sep 17 00:00:00 2001 From: Benjamin Morel Date: Fri, 14 Oct 2022 22:38:42 +0200 Subject: [PATCH] Fix doc comments --- CHANGELOG.md | 2 +- src/Geometry.php | 2 +- src/Surface.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9de3ab..c33bda7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - Better Psalm annotations for geometry getters - Removed outdated suggestion in `composer.json` -- Minor proxy code style improvements +- Minor documentation fixes & proxy code style improvements ## [0.8.0](https://github.com/brick/geo/releases/tag/0.8.0) - 2022-10-11 diff --git a/src/Geometry.php b/src/Geometry.php index 0ae4722..26f6219 100644 --- a/src/Geometry.php +++ b/src/Geometry.php @@ -250,7 +250,7 @@ public function coordinateSystem() : CoordinateSystem * Returns a copy of this Geometry, with the SRID altered. * * Note that only the SRID value is changed, the coordinates are not reprojected. - * Use transform() to reproject the Geometry to another SRID. + * Use GeometryEngine::transform() to reproject the Geometry to another SRID. * * @return static */ diff --git a/src/Surface.php b/src/Surface.php index 60b57d3..26b0e29 100644 --- a/src/Surface.php +++ b/src/Surface.php @@ -7,7 +7,7 @@ /** * A Surface is a 2-dimensional geometric object. * - * A simple Surface may consists of a single "patch" that is associated with one "exterior boundary" and 0 or more + * A simple Surface may consist of a single "patch" that is associated with one "exterior boundary" and 0 or more * "interior" boundaries. A single such Surface patch in 3-dimensional space is isometric to planar Surfaces, by a * simple affine rotation matrix that rotates the patch onto the plane z = 0. If the patch is not vertical, * the projection onto the same plane is an isomorphism, and can be represented as a linear transformation,