webform_workflows_element_webform_submission_access has incorrect return type

Created on 4 September 2022, almost 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.69.0 2024