*/ public function rules(): array { return [ 'permissions' => 'array', 'permissions.*' => 'integer|exists:permissions,id', ]; } }