mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Apply fixes from StyleCI
This commit is contained in:
@@ -32,11 +32,11 @@ trait ConfigInitTrait
|
||||
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
self::$internalConfigFoo = \Closure::bind(function($value = null) {
|
||||
self::$internalConfigFoo = \Closure::bind(function ($value = null) {
|
||||
return !is_null($value) ? Config::$config = $value : Config::$config;
|
||||
}, null, '\\Think\\Config');
|
||||
|
||||
self::$internalRangeFoo = \Closure::bind(function($value = null) {
|
||||
self::$internalRangeFoo = \Closure::bind(function ($value = null) {
|
||||
return !is_null($value) ? Config::$range = $value : Config::$range;
|
||||
}, null, '\\Think\\Config');
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
namespace tests\thinkphp\library\think;
|
||||
|
||||
use ReflectionClass;
|
||||
use think\Config;
|
||||
use think\Controller;
|
||||
use think\Request;
|
||||
use think\View;
|
||||
|
||||
Reference in New Issue
Block a user