mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
XW-2448: cleanup
This commit is contained in:
parent
e6edafb61c
commit
1723811417
|
@ -2,6 +2,7 @@
|
||||||
namespace Wikia\PortableInfobox\Parser\Nodes;
|
namespace Wikia\PortableInfobox\Parser\Nodes;
|
||||||
|
|
||||||
use HtmlHelper;
|
use HtmlHelper;
|
||||||
|
use Wikia\PortableInfobox\Helpers\PortableInfoboxDataBag;
|
||||||
use WikiaFileHelper;
|
use WikiaFileHelper;
|
||||||
|
|
||||||
class NodeImage extends Node {
|
class NodeImage extends Node {
|
||||||
|
@ -18,7 +19,7 @@ class NodeImage extends Node {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getGalleryData( $marker ) {
|
public static function getGalleryData( $marker ) {
|
||||||
$galleryData = \Wikia\PortableInfobox\Helpers\PortableInfoboxDataBag::getInstance()->getGallery( $marker );
|
$galleryData = PortableInfoboxDataBag::getInstance()->getGallery( $marker );
|
||||||
return array_map( function ( $image ) {
|
return array_map( function ( $image ) {
|
||||||
return [
|
return [
|
||||||
'label' => $image[ 'caption' ],
|
'label' => $image[ 'caption' ],
|
||||||
|
|
Loading…
Reference in a new issue