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;
|
||||
|
||||
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' ],
|
||||
|
|
Loading…
Reference in a new issue