We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_custom_header returns an object, so ! object it always false.
Discovered by @phpstan on Level 4
The text was updated successfully, but these errors were encountered:
Are you referring to this code:
pwa-wp/integrations/class-wp-service-worker-custom-header-integration.php
Lines 57 to 58 in 37a3365
It's checking that the attachment_id is set, not the object as a whole.
attachment_id
Sorry, something went wrong.
Rather this one:
Lines 22 to 25 in 351eeec
The integrations will be deprecated per #403 so I'm closing this.
No branches or pull requests
get_custom_header returns an object, so ! object it always false.
Discovered by @phpstan on Level 4
The text was updated successfully, but these errors were encountered: