From b8dd243ec114b3331310fc716dbca50b0f74a70d Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Wed, 29 Jan 2020 15:14:36 +0100 Subject: [PATCH] Refactor renderStyles method from static to instance method [MAILPOET-2665] --- lib/Form/Renderer.php | 2 +- lib/Form/Widget.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Form/Renderer.php b/lib/Form/Renderer.php index 911244205c..85a5d91721 100644 --- a/lib/Form/Renderer.php +++ b/lib/Form/Renderer.php @@ -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 = '