From 7a0c5c823cb58ec060fde40e0db52be8c55e8b3f Mon Sep 17 00:00:00 2001 From: jordanbrauer Date: Tue, 14 Nov 2017 10:52:43 -0600 Subject: [PATCH] Fix: drop "US" from short ton class name --- .../Unit/Mass/{USShortTon.php => ShortTon.php} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename src/UnitConverter/Unit/Mass/{USShortTon.php => ShortTon.php} (71%) diff --git a/src/UnitConverter/Unit/Mass/USShortTon.php b/src/UnitConverter/Unit/Mass/ShortTon.php similarity index 71% rename from src/UnitConverter/Unit/Mass/USShortTon.php rename to src/UnitConverter/Unit/Mass/ShortTon.php index 7d66b3c0..bfd33b2f 100644 --- a/src/UnitConverter/Unit/Mass/USShortTon.php +++ b/src/UnitConverter/Unit/Mass/ShortTon.php @@ -15,22 +15,22 @@ namespace UnitConverter\Unit\Mass; /** - * USShortTon data class. + * Short ton data class. Also known as 'net ton'. * - * @version 1.0.0 + * @version 2.0.0 * @since 0.3.9 * @author Teun Willems */ -class USShortTon extends MassUnit +class ShortTon extends MassUnit { protected function configure (): void { $this - ->setName("US Short Ton") + ->setName("short ton") - ->setSymbol("ust") + ->setSymbol("ton") - ->setUnits(2.204623) + ->setUnits(907.1847) ; } }