Skip to content

Commit

Permalink
Fix accidentally renamed params
Browse files Browse the repository at this point in the history
  • Loading branch information
ahawlitschek committed Dec 31, 2024
1 parent 6eb5a6a commit 719d91c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ trait MagellanMeasurementFunctions
*
* @see https://postgis.net/docs/ST_DistanceSphere.html
*/
public static function distanceSphere($geometryOrGeographyA, $geometryOrGeographyB): MagellanNumericExpression
public static function distanceSphere($geometryA, $geometryB): MagellanNumericExpression
{
return MagellanBaseExpression::numeric('ST_DistanceSphere', [ColumnParameter::wrap($geometryOrGeographyA), ColumnParameter::wrap($geometryOrGeographyB)]);
return MagellanBaseExpression::numeric('ST_DistanceSphere', [ColumnParameter::wrap($geometryA), ColumnParameter::wrap($geometryB)]);
}

/**
Expand Down

0 comments on commit 719d91c

Please sign in to comment.