mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-14 22:15:55 +00:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
ddf99cd7c8
commit
d22e63701f
@@ -2,9 +2,7 @@
|
||||
|
||||
namespace App\Commands;
|
||||
|
||||
use App\Client\Support\DefaultDomainNodeVisitor;
|
||||
use App\Client\Support\DefaultServerNodeVisitor;
|
||||
use App\Client\Support\InsertDefaultDomainNodeVisitor;
|
||||
use App\Client\Support\InsertDefaultServerNodeVisitor;
|
||||
use Illuminate\Console\Command;
|
||||
use PhpParser\Lexer\Emulative;
|
||||
@@ -72,8 +70,8 @@ class SetDefaultServerCommand extends Command
|
||||
|
||||
$nodeFinder = new NodeFinder;
|
||||
|
||||
$defaultServerNode = $nodeFinder->findFirst($newStmts, function(Node $node) {
|
||||
return ($node instanceof Node\Expr\ArrayItem && $node->key && $node->key->value === 'default_server');
|
||||
$defaultServerNode = $nodeFinder->findFirst($newStmts, function (Node $node) {
|
||||
return $node instanceof Node\Expr\ArrayItem && $node->key && $node->key->value === 'default_server';
|
||||
});
|
||||
|
||||
if (is_null($defaultServerNode)) {
|
||||
|
||||
Reference in New Issue
Block a user