Commit f02e7dc4 by Alex Andrews

Reformatted return

Changed the return of the method in line with suggestions from @JoostK.
parent aa32e4cf
......@@ -421,9 +421,7 @@ class HTML {
*/
protected static function encoding()
{
if(static::$encoding===null) static::$encoding = Config::get('application.encoding');
return static::$encoding;
return static::$encoding ?: static::$encoding = Config::get('application.encoding');
}
/**
......
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