Fix type PermissionKey::add()

Fix type PermissionKey::add()

- Change `$$pkHasCustomClass` to `$pkHasCustomClass`