mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-16 04:22:37 +00:00
XW-2444: cr remarks
This commit is contained in:
parent
2498b0111a
commit
2402a0210f
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Wikia\PortableInfobox\Parser\Nodes;
|
||||
use \Wikia\PortableInfobox\Parser\Nodes;
|
||||
use \Wikia\PortableInfobox\Helpers\InvalidColorValueException;
|
||||
use \Wikia\PortableInfobox\Helpers\InvalidInfoboxParamsException;
|
||||
use \Wikia\PortableInfobox\Helpers\InfoboxParamsValidator;
|
||||
|
@ -91,9 +91,9 @@ class PortableInfoboxParserTagController extends WikiaController {
|
|||
$accentColor = $this->getColor( 'accent-color', $params, $frame );
|
||||
$accentColorText = $this->getColor( 'accent-color-text', $params, $frame );
|
||||
|
||||
$renderSerivce = \F::app()->checkSkin( 'wikiamobile' ) ?
|
||||
$renderService = \F::app()->checkSkin( 'wikiamobile' ) ?
|
||||
new PortableInfoboxMobileRenderService() : new PortableInfoboxRenderService();
|
||||
return $renderSerivce->renderInfobox( $data, $theme, $layout, $accentColor, $accentColorText );
|
||||
return $renderService->renderInfobox( $data, $theme, $layout, $accentColor, $accentColorText );
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue