Wrong return type for the getIdFromInput() method on ProviderPluginInterface

Created on 11 November 2024, about 1 month ago

The return type for the getIdFromInput() method on the ProviderPluginInterface, should be string|false, not just string, as stated on the current method annotations. Both the Vimeo and YouTube plugin implementations will return string or FALSE. I had to create a custom video plugin and had linter issues as a consequence.

🐛 Bug report
Status

Active

Version

2.5

Component

Video Embed Field (base module)

Created by

🇳🇱Netherlands josé trindade

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

Comments & Activities

Production build 0.71.5 2024