Apply fixes from StyleCI

This commit is contained in:
ThinkPHP
2017-09-08 06:18:31 +00:00
parent 6d82fe4a56
commit f3a47f30ff
2 changed files with 2 additions and 3 deletions

View File

@@ -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');

View File

@@ -17,7 +17,6 @@
namespace tests\thinkphp\library\think;
use ReflectionClass;
use think\Config;
use think\Controller;
use think\Request;
use think\View;