Fixed Incorrect type hint in XF\SubContainer\Oembed::controller


Well-known member
Affected version

namespace XF\SubContainer;

class Oembed extends AbstractSubContainer
    public function initialize()
        $container = $this->container;

        $container['controller'] = function($c)
            return new \XF\Oembed\Controller($this->app, $this->app->request());

     * @return \XF\Proxy\Controller <<< \XF\Oembed\Controller
    public function controller()
        return $this->container['controller'];
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.13).

Change log:
Fix type hint in Oembed subcontainer
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom