Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up lock update code to remove redundancy and avoid errors #12149

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Oct 3, 2024

No description provided.

@Seldaek Seldaek added this to the 2.8 milestone Oct 3, 2024
@Seldaek Seldaek requested a review from naderman October 3, 2024 18:58
@Seldaek Seldaek merged commit b840a06 into composer:main Oct 4, 2024
20 checks passed
@Seldaek Seldaek deleted the lock_cleanups branch October 4, 2024 09:47
*
* This is a risky method, use carefully.
*
* @param (callable(array<mixed>): array<mixed>)|null $dataProcessor Receives the lock data and can process it before it gets written to disk
Copy link
Contributor

Choose a reason for hiding this comment

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

The type used for the lock data elsewhere in that class is array<string, mixed>

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah true, fixed in a67ce98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants