diff --git a/laravel/html.php b/laravel/html.php index 157ef48e..3d7f775e 100644 --- a/laravel/html.php +++ b/laravel/html.php @@ -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'); } /**