Allow a single extender to be returned (#1469)
Allow a single extender to be returned (#1469)

Casting an object to an array does not have the intended effect of
wrapping the object in an array. Instead we need to explicitly check
if the returned value is an array or not.
flarum/core,datitisev/core,malayladu/core,malayladu/core,malayladu/core,datitisev/core,flarum/core,flarum/core,datitisev/core,malayladu/core,datitisev/core