From 6ab00c441d847cb50d7ece131f3fd22b96710fc3 Mon Sep 17 00:00:00 2001 From: hsbmaulana Date: Sat, 19 Oct 2024 17:55:09 +0700 Subject: [PATCH] fix(core): initial --- composer.json | 2 +- src/Http/Middleware/PermissionMiddleware.php | 2 +- src/Http/Middleware/RoleMiddleware.php | 2 +- src/Http/Middleware/RoleOrPermissionMiddleware.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 8545b42..1ad57cc 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tripteki/laravelphp-acl", - "version": "2.0.3", + "version": "2.0.5", "description": "Trip Teknologi's Laravel.php ACLs", "readme": "README.md", diff --git a/src/Http/Middleware/PermissionMiddleware.php b/src/Http/Middleware/PermissionMiddleware.php index 92e99d5..a1d0e54 100644 --- a/src/Http/Middleware/PermissionMiddleware.php +++ b/src/Http/Middleware/PermissionMiddleware.php @@ -2,7 +2,7 @@ namespace Tripteki\ACL\Http\Middleware; -use Spatie\Permission\Middlewares\PermissionMiddleware as Middleware; +use Spatie\Permission\Middleware\PermissionMiddleware as Middleware; class PermissionMiddleware extends Middleware { diff --git a/src/Http/Middleware/RoleMiddleware.php b/src/Http/Middleware/RoleMiddleware.php index 9f4c0b0..3d16e8c 100644 --- a/src/Http/Middleware/RoleMiddleware.php +++ b/src/Http/Middleware/RoleMiddleware.php @@ -2,7 +2,7 @@ namespace Tripteki\ACL\Http\Middleware; -use Spatie\Permission\Middlewares\RoleMiddleware as Middleware; +use Spatie\Permission\Middleware\RoleMiddleware as Middleware; class RoleMiddleware extends Middleware { diff --git a/src/Http/Middleware/RoleOrPermissionMiddleware.php b/src/Http/Middleware/RoleOrPermissionMiddleware.php index 1bb64af..4a695fe 100644 --- a/src/Http/Middleware/RoleOrPermissionMiddleware.php +++ b/src/Http/Middleware/RoleOrPermissionMiddleware.php @@ -2,7 +2,7 @@ namespace Tripteki\ACL\Http\Middleware; -use Spatie\Permission\Middlewares\RoleOrPermissionMiddleware as Middleware; +use Spatie\Permission\Middleware\RoleOrPermissionMiddleware as Middleware; class RoleOrPermissionMiddleware extends Middleware {