webform_workflows_element_webform_submission_access has incorrect return type

Created on 4 September 2022, about 2 years ago
Updated 15 February 2023, over 1 year ago

The webform_workflows_element_webform_submission_access function has AccessNeutral as its return type. I believe this is a typo and should be AccessInterface, both because returning any other Access result then breaks and because if AccessNeutral is the correct result, there's no point to having the function.

I'll attach a PR shortly.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia Nigel Cunningham Geelong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024