Reformatted return

Changed the return of the method in line with suggestions from @JoostK.
This commit is contained in:
Alex Andrews 2012-09-10 12:27:50 +01:00
parent aa32e4cf72
commit f02e7dc4ca
1 changed files with 2 additions and 4 deletions

View File

@ -420,10 +420,8 @@ protected static function obfuscate($value)
* @return string
*/
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');
}
/**