Reformatted return
Changed the return of the method in line with suggestions from @JoostK.
This commit is contained in:
parent
aa32e4cf72
commit
f02e7dc4ca
|
@ -420,10 +420,8 @@ protected static function obfuscate($value)
|
||||||
* @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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue