Commit aacc4c3a authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent 79c3758e
......@@ -109,6 +109,7 @@ class PermissionRepository extends BaseRepository
DB::transaction(function () use ($permission) {
if ($permission->delete()) {
event(new PermissionDeleted($permission));
return true;
}
......
......@@ -2,12 +2,12 @@
namespace Tests\Feature\Backend;
use Tests\TestCase;
use Illuminate\Support\Facades\Event;
use App\Models\Access\Permission\Permission;
use App\Events\Backend\Access\Permission\PermissionCreated;
use App\Events\Backend\Access\Permission\PermissionDeleted;
use App\Events\Backend\Access\Permission\PermissionUpdated;
use App\Models\Access\Permission\Permission;
use Illuminate\Support\Facades\Event;
use Tests\TestCase;
class ManagePermissionsTest extends TestCase
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment