You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix constructor parameter naming to match schema keys
The SlideFactory maps data keys to constructor parameter names,
so the parameter must be named 'components' to match the schema
key, not 'callbackOrComponents'. This was preventing the components
array from being passed to the constructor.
Changed:
- Blank: $callbackOrComponents -> $components
- BlankWithTitle: $callbackOrComponents -> $components
This maintains backward compatibility since the parameter still
accepts callable|array and uses is_callable() to differentiate.
0 commit comments