: 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 FontWeight extends Select {
public function __construct($insertAt, $name = '', $label = false, $default = '', $parameters = array()) {
'200' => '200 - ' . n2_('Extra light'),
'300' => '300 - ' . n2_('Light'),
'400' => '400 - ' . n2_('Normal'),
'600' => '600 - ' . n2_('Semi bold'),
'700' => '700 - ' . n2_('Bold'),
'800' => '800 - ' . n2_('Extra bold'),
parent::__construct($insertAt, $name, $label, $default, $parameters);