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