Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Conversation

@akr4m
Copy link

@akr4m akr4m commented Aug 25, 2024

Gracefully Handle Missing 'disabled' Key in Services Hash

This pull request includes a minor but crucial update to the Homestead class to handle cases where the disabled key within the services hash might not be present.

Changes

  • Updated the services loop to safely handle cases where the disabled key is not defined. The code now defaults to an empty array ([]) when the disabled key is missing or nil.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant