Skip to content

Commit d126c41

Browse files
committed
update laravel-hookable package; bump version to 1.0.5 and adjust aliases in service provider
1 parent ef3e2b5 commit d126c41

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "saschaende/laravel-hookable",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "The WordPress filter/action system in Laravel",
55
"keywords": [
66
"laravel",
@@ -35,10 +35,7 @@
3535
"laravel": {
3636
"providers": [
3737
"SaschaEnde\\Hookable\\HookableServiceProvider"
38-
],
39-
"aliases": {
40-
"Hookable": "SaschaEnde\\Hookable\\Facades\\Hookable"
41-
}
38+
]
4239
}
4340
},
4441
"minimum-stability": "stable",

src/HookableServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ public function boot()
1717
{
1818
// Blade directive for filters
1919
Blade::directive('applyFilter', function ($expression) {
20-
return "<?php echo \\App\\Domains\\Hookable\\Facades\\Hookable::applyFilters($expression); ?>";
20+
return "<?php echo \\SaschaEnde\\Hookable\\Facades\\Hookable::applyFilters($expression); ?>";
2121
});
2222

2323
// Blade directive for actions
2424
Blade::directive('doAction', function ($expression) {
25-
return "<?php echo \\App\\Domains\\Hookable\\Facades\\Hookable::renderActions($expression); ?>";
25+
return "<?php echo \\SaschaEnde\\Hookable\\Facades\\Hookable::renderActions($expression); ?>";
2626
});
2727
}
2828
}

0 commit comments

Comments
 (0)