diff --git a/src/Debug/TraceableDataTableFactory.php b/src/Debug/TraceableDataTableFactory.php index efcf9345..c83b8a6b 100644 --- a/src/Debug/TraceableDataTableFactory.php +++ b/src/Debug/TraceableDataTableFactory.php @@ -28,7 +28,7 @@ public function create(string $type, mixed $data = null, array $options = []): D public function createNamed(string $name, string $type, mixed $data = null, array $options = []): DataTableInterface { - $dataTable = $this->dataTableFactory->create($type, $data, $options); + $dataTable = $this->dataTableFactory->createNamed($name, $type, $data, $options); $this->dataCollector->collectDataTable($dataTable);