Remove unnecessary sprintf() in hot path
This commit is contained in:
parent
22b394a681
commit
6142168041
|
|
@ -81,7 +81,7 @@ final readonly class Exporter
|
|||
if ($processed->contains($data[$key]) !== false) {
|
||||
$result[] = '*RECURSION*';
|
||||
} else {
|
||||
$result[] = sprintf('[%s]', $this->shortenedRecursiveExport($data[$key], $processed));
|
||||
$result[] = '['. $this->shortenedRecursiveExport($data[$key], $processed) .']';
|
||||
}
|
||||
} else {
|
||||
$result[] = $this->shortenedExport($value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue