From 6c3d4e5001c1210a204ea7fabbe49342e134d904 Mon Sep 17 00:00:00 2001 From: Wanderson Date: Tue, 30 Jan 2018 09:37:22 -0200 Subject: [PATCH] Rollback facades from aliases to class names --- src/Support/Facades/IntToRoman.php | 2 +- src/Support/Facades/RomanToInt.php | 2 +- test/HelpersTest.php | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) 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()