Skip to content

Commit

Permalink
Rollback facades from aliases to class names
Browse files Browse the repository at this point in the history
  • Loading branch information
wandersonwhcr committed Jan 30, 2018
1 parent 083187a commit 6c3d4e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Support/Facades/IntToRoman.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class IntToRoman extends Facade
*/
protected static function getFacadeAccessor()
{
return 'intToRoman';
return IntToRomanFilter::class;
}
}
2 changes: 1 addition & 1 deletion src/Support/Facades/RomanToInt.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class RomanToInt extends Facade
*/
protected static function getFacadeAccessor()
{
return 'romanToInt';
return RomanToIntFilter::class;
}
}
3 changes: 0 additions & 3 deletions test/HelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6c3d4e5

Please sign in to comment.