Skip to content

Commit

Permalink
Merge pull request #121 from clickbar/fix-wrong-param-name
Browse files Browse the repository at this point in the history
  • Loading branch information
saibotk authored Dec 31, 2024
2 parents 6eb5a6a + 719d91c commit cf14ab1
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 cf14ab1

Please sign in to comment.