Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gcarvelli
Copy link
Contributor

@gcarvelli gcarvelli commented Jun 24, 2025

Description

Fixes a bug and a few typos in PHPDocs.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@gcarvelli gcarvelli requested a review from a team as a code owner June 24, 2025 21:03
@gcarvelli gcarvelli requested a review from nicknisi June 24, 2025 21:03
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Fixed a critical bug in DirectorySync's listGroups method and corrected documentation typos in multiple files.

  • Fixed incorrect variable usage in lib/DirectorySync.php where $group was wrongly used instead of $user parameter, which would cause silent failures in group filtering
  • Corrected docstring typos in lib/UserManagement.php and lib/SSO.php where 'DDomain' was fixed to 'Domain' in parameter descriptions

3 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile

$params["directory"] = $directory;
}
if ($user) {
$params["user"] = $group;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$group is undefined in this scope, this never could have worked.

Copy link
Contributor

@mattgd mattgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to you and Claude for this 🙇

@gcarvelli gcarvelli merged commit fe4f23b into main Jun 25, 2025
5 checks passed
@gcarvelli gcarvelli deleted the gio/small-fixes branch June 25, 2025 14:23
@csrbarber csrbarber mentioned this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants