: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Form\Element\Select;
use Nextend\Framework\Form\Element\Select;
class FillMode extends Select {
protected $useGlobal = false;
protected function fetchElement() {
'blurfit' => n2_('Blur fit'),
'stretch' => n2_('Stretch'),
'center' => n2_('Center')
$this->options = array_merge(array(
'default' => n2_('Slider\'s default')
return parent::fetchElement();
public function setUseGlobal($useGlobal) {
$this->useGlobal = $useGlobal;