From 172381141763cfdcbfa765540ebeb4f5b4b9169a Mon Sep 17 00:00:00 2001 From: Mateusz Rybarski Date: Fri, 13 Jan 2017 08:51:14 +0100 Subject: [PATCH] XW-2448: cleanup --- services/Parser/Nodes/NodeImage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/Parser/Nodes/NodeImage.php b/services/Parser/Nodes/NodeImage.php index ce14cdf..9889e98 100644 --- a/services/Parser/Nodes/NodeImage.php +++ b/services/Parser/Nodes/NodeImage.php @@ -2,6 +2,7 @@ namespace Wikia\PortableInfobox\Parser\Nodes; use HtmlHelper; +use Wikia\PortableInfobox\Helpers\PortableInfoboxDataBag; use WikiaFileHelper; class NodeImage extends Node { @@ -18,7 +19,7 @@ class NodeImage extends Node { } public static function getGalleryData( $marker ) { - $galleryData = \Wikia\PortableInfobox\Helpers\PortableInfoboxDataBag::getInstance()->getGallery( $marker ); + $galleryData = PortableInfoboxDataBag::getInstance()->getGallery( $marker ); return array_map( function ( $image ) { return [ 'label' => $image[ 'caption' ],