Remove redundant variable

This commit is contained in:
Jake Barnby
2022-07-13 16:41:40 +12:00
parent bf284f4fde
commit eeed6d6038
-2
View File
@@ -74,9 +74,7 @@ function graphqlRequest(
$query = [ 'query' => $request->getSwoole()->rawContent() ];
}
$batch = true;
if (!isset($query[0])) {
$batch = false;
$query = [$query];
}