Skip to content

Commit

Permalink
Change facede name
Browse files Browse the repository at this point in the history
  • Loading branch information
palpalani committed Apr 29, 2022
1 parent 0f0e922 commit 72330ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"palPalani\\SpamassassinScore\\SpamassassinScoreServiceProvider"
],
"aliases": {
"Spamassassin": "palPalani\\SpamassassinScore\\SpamassassinFacade"
"SpamassassinScore": "palPalani\\SpamassassinScore\\Facades\\SpamassassinScore"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?php

namespace palPalani\SpamassassinScore;
namespace palPalani\SpamassassinScore\Facades;

use Illuminate\Support\Facades\Facade;

/**
* @see \palPalani\SpamassassinScore\SpamassassinScore
*/
class SpamassassinFacade extends Facade
class SpamassassinScore extends Facade
{
protected static function getFacadeAccessor()
{
return 'spamassassin-score';
return 'spamassassin';
}
}
2 changes: 1 addition & 1 deletion src/SpamassassinScoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function configurePackage(Package $package): void
* More info: https://github.com/spatie/laravel-package-tools
*/
$package
->name('laravel-spamassassin-score')
->name('spamassassin')
->hasConfigFile();
}
}

0 comments on commit 72330ef

Please sign in to comment.