diff --git a/src/Support/Facades/IntToRoman.php b/src/Support/Facades/IntToRoman.php index 5d0d261..f179136 100644 --- a/src/Support/Facades/IntToRoman.php +++ b/src/Support/Facades/IntToRoman.php @@ -15,6 +15,6 @@ class IntToRoman extends Facade */ protected static function getFacadeAccessor() { - return 'intToRoman'; + return IntToRomanFilter::class; } } diff --git a/src/Support/Facades/RomanToInt.php b/src/Support/Facades/RomanToInt.php index 8421c30..1fa729c 100644 --- a/src/Support/Facades/RomanToInt.php +++ b/src/Support/Facades/RomanToInt.php @@ -15,6 +15,6 @@ class RomanToInt extends Facade */ protected static function getFacadeAccessor() { - return 'romanToInt'; + return RomanToIntFilter::class; } } diff --git a/test/HelpersTest.php b/test/HelpersTest.php index 4c86c00..170c8fe 100644 --- a/test/HelpersTest.php +++ b/test/HelpersTest.php @@ -17,9 +17,6 @@ protected function setUp() IntToRoman::setFacadeApplication($this->application); RomanToInt::setFacadeApplication($this->application); - - $this->application->alias(IntToRomanFilter::class, 'intToRoman'); - $this->application->alias(RomanToIntFilter::class, 'romanToInt'); } public function testIntToRoman()