1
0
Fork 0
mirror of synced 2024-06-28 19:20:25 +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() ];
}
$batch = true;
if (!isset($query[0])) {
$batch = false;
$query = [$query];
}