Rename toInt to toNumber
This commit is contained in:
@@ -23,7 +23,7 @@ class Distance extends \PhpUnitsOfMeasure\PhysicalQuantity\Length implements Arr
|
||||
* Return value in native unit as integer
|
||||
* @return array
|
||||
*/
|
||||
public function toInt()
|
||||
public function toNumber()
|
||||
{
|
||||
return $this->toArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user