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

Qual: Fix typing - module_parts['hooks'] may be empty #28870

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

mdeweerd
Copy link
Contributor

Qual: Fix typing - moduleparts['hooks'] may be empty

PHPstan reported on initialisation mismatch when module_parts['hooks'] is initialised to empty array. This change makes the fields optional.

# Qual: Fix typing - moduleparts['hooks'] may be empty

PHPstan reported on initialisation mismatch when module_parts['hooks']
is initialised to empty array.  This change makes the fields optional.
@mdeweerd mdeweerd marked this pull request as ready for review March 15, 2024 09:48
@eldy eldy merged commit 6042ea9 into Dolibarr:develop Mar 15, 2024
6 checks passed
@mdeweerd mdeweerd deleted the fix/moduleparts/typing branch March 15, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants