in src/Apache/Ignite/Query/SqlQuery.php [193:203]
protected function writeArgs(BinaryCommunicator $communicator, MessageBuffer $buffer): void
{
$argsLength = $this->args ? count($this->args) : 0;
$buffer->writeInteger($argsLength);
if ($argsLength > 0) {
for ($i = 0; $i < $argsLength; $i++) {
$argType = $this->argTypes && $i < count($this->argTypes) ? $this->argTypes[$i] : null;
$communicator->writeObject($buffer, $this->args[$i], $argType);
}
}
}