return [];
}
- return [implode(', ', $parametersProcessed) . ')'];
+ return [\implode(', ', $parametersProcessed) . ')'];
}
/**
*/
private function valueToShortString($value)
{
- if (!is_array($value)) {
- return json_encode($value);
+ if (!\is_array($value)) {
+ return \json_encode($value);
}
$chunks = [];
$allSequential = true;
foreach ($value as $key => $item) {
- $allSequential = $allSequential && is_numeric($key) && $key === count($chunksSequential);
+ $allSequential = $allSequential && \is_numeric($key) && $key === \count($chunksSequential);
$keyString = $this->valueToShortString($key);
$itemString = $this->valueToShortString($item);
$chunksToImplode = $allSequential ? $chunksSequential : $chunks;
- return '[' . implode(', ', $chunksToImplode) . ']';
+ return '[' . \implode(', ', $chunksToImplode) . ']';
}
}