Skip to content

Conversation

@hugopeek
Copy link
Contributor

What does it do ?

It checks if "service" array key is set.

Why is it needed ?

PHP 8 has become more strict with this kind of loosy truthy falsy check on an array key.

Related issue(s)/PR(s)

Fixes #426

PHP 8 is more strict with this kind of loosy truthy falsy check on an array key.

Fixes modmore#426
@muzzwood muzzwood merged commit 1653c33 into modmore:master Mar 16, 2023
@muzzwood
Copy link
Contributor

Thanks @hugopeek ! :)

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.

PHP warning: Undefined array key "service"

2 participants