Skip to content

Commit

Permalink
rename class name
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwx committed May 19, 2020
1 parent 913a96b commit ed409f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"extra": {
"laravel": {
"providers": [
"Wuwx\\LaravelAdminAlpinejs\\LaravelAdminAlpinejsServiceProvider"
"Wuwx\\LaravelAdminAlpinejs\\AlpinejsServiceProvider"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/LaravelAdminAlpinejs.php → src/Alpinejs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use Encore\Admin\Extension;

class LaravelAdminAlpinejs extends Extension
class Alpinejs extends Extension
{
public $name = 'laravel-admin-alpinejs';
public $name = 'alpinejs';

public $assets = __DIR__.'/../resources/assets';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
use Encore\Admin\Facades\Admin;
use Illuminate\Support\ServiceProvider;

class LaravelAdminAlpinejsServiceProvider extends ServiceProvider
class AlpinejsServiceProvider extends ServiceProvider
{
/**
* {@inheritdoc}
*/
public function boot(LaravelAdminAlpinejs $extension)
public function boot(Alpinejs $extension)
{
if (! LaravelAdminAlpinejs::boot()) {
if (! Alpinejs::boot()) {
return ;
}

Expand Down

0 comments on commit ed409f7

Please sign in to comment.