Commit 07aca1c7 by Alexander Makarov

Renamed config() to configure() in BaseHtmlPurifier as suggested by @qiang

parent 65519ffb
...@@ -52,7 +52,7 @@ class BaseHtmlPurifier ...@@ -52,7 +52,7 @@ class BaseHtmlPurifier
if ($config instanceof \Closure) { if ($config instanceof \Closure) {
call_user_func($config, $configInstance); call_user_func($config, $configInstance);
} }
static::config($configInstance); static::configure($configInstance);
return $purifier->purify($content); return $purifier->purify($content);
} }
...@@ -62,7 +62,7 @@ class BaseHtmlPurifier ...@@ -62,7 +62,7 @@ class BaseHtmlPurifier
* @param \HTMLPurifier_Config $config * @param \HTMLPurifier_Config $config
* @since 2.0.3 * @since 2.0.3
*/ */
protected static function config($config) protected static function configure($config)
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment