1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +12:00

Remove redundant variable

This commit is contained in:
Jake Barnby 2022-07-13 16:41:40 +12:00
parent bf284f4fde
commit eeed6d6038

View file

@ -74,9 +74,7 @@ function graphqlRequest(
$query = [ 'query' => $request->getSwoole()->rawContent() ]; $query = [ 'query' => $request->getSwoole()->rawContent() ];
} }
$batch = true;
if (!isset($query[0])) { if (!isset($query[0])) {
$batch = false;
$query = [$query]; $query = [$query];
} }