The trait jeremykenedy\LaravelRole...PermissionsHelpersTrait requires some properties which are not provided by jeremykenedy\LaravelRole...ravelRolesApiController: $role_id, $user_id, $id, $roles, $permission_id
Loading history...
13
// use RolesUsageAuthTrait;
14
15
/**
16
* Return all the roles, Permissions, and Users data.
The expression return response()->json(...=> $data['data']), 200) returns the type Illuminate\Http\JsonResponse which is incompatible with the documented return type Illuminate\Http\Response.
Loading history...
25
'code' => 200,
26
'status' => 'success',
27
'message' => 'Success returning all roles and permissions data.',
The expression return response()->json(... 'role' => $role), 201) returns the type Illuminate\Http\JsonResponse which is incompatible with the documented return type Illuminate\Http\Response.