Commit f02e7dc4 by Alex Andrews

Reformatted return

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