From 20297c24eae9fdd0b3e65a47064978c728f55eb8 Mon Sep 17 00:00:00 2001 From: jordanbrauer Date: Mon, 9 Oct 2017 19:27:40 -0500 Subject: [PATCH] Fix: made LengthUnit abstract to prevent instantiation --- src/UnitConverter/Unit/Length/LengthUnit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UnitConverter/Unit/Length/LengthUnit.php b/src/UnitConverter/Unit/Length/LengthUnit.php index b3297820..7dc24f9a 100644 --- a/src/UnitConverter/Unit/Length/LengthUnit.php +++ b/src/UnitConverter/Unit/Length/LengthUnit.php @@ -26,7 +26,7 @@ * @since 1.0.0 * @author Jordan Brauer */ -class LengthUnit extends AbstractUnit +abstract class LengthUnit extends AbstractUnit { protected $unitOf = Measure::LENGTH;