Refactor renderStyles method from static to instance method
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
8e9c41145d
commit
b8dd243ec1
@@ -7,7 +7,7 @@ use MailPoet\Subscription\Captcha;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
class Renderer {
|
||||
public static function renderStyles($form = [], $prefix = null) {
|
||||
public function renderStyles($form = [], $prefix = null) {
|
||||
$styles = new Util\Styles();
|
||||
|
||||
$html = '<style type="text/css">';
|
||||
|
Reference in New Issue
Block a user