File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ class CodeCalculatorFloat extends AbstractCodeCalculator
1313{
1414 // Value of the most significant latitude digit after it has been converted to an integer.
1515 // Note: to ensure 32bit PHP compatibility, this is now a precisely-represented float.
16- public const float LAT_MSP_VALUE = OpenLocationCode ::LAT_INTEGER_MULTIPLIER * OpenLocationCode::ENCODING_BASE * OpenLocationCode::ENCODING_BASE ;
16+ public const float LAT_MSP_VALUE = self ::LAT_INTEGER_MULTIPLIER * OpenLocationCode::ENCODING_BASE * OpenLocationCode::ENCODING_BASE ;
1717
1818 // Value of the most significant longitude digit after it has been converted to an integer.
1919 // Note: to ensure 32bit PHP compatibility, this is now a precisely-represented float.
20- public const float LNG_MSP_VALUE = OpenLocationCode ::LNG_INTEGER_MULTIPLIER * OpenLocationCode::ENCODING_BASE * OpenLocationCode::ENCODING_BASE ;
20+ public const float LNG_MSP_VALUE = self ::LNG_INTEGER_MULTIPLIER * OpenLocationCode::ENCODING_BASE * OpenLocationCode::ENCODING_BASE ;
2121
2222 protected function generateRevOlcCode (float $ latitude , float $ longitude , int $ codeLength ): string
2323 {
You can’t perform that action at this time.
0 commit comments