From ead904e76a993be5a17a592a8a0e1c7d98b6c9cc Mon Sep 17 00:00:00 2001 From: Andrew Newton Date: Thu, 1 Feb 2024 15:46:32 +0000 Subject: [PATCH] fix: Old string formatter name to FQCN and Import. (dvsa/olcs-selfserve#46) --- app/selfserve/module/Olcs/src/Table/Tables/txc-inbox.table.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/selfserve/module/Olcs/src/Table/Tables/txc-inbox.table.php b/app/selfserve/module/Olcs/src/Table/Tables/txc-inbox.table.php index 3e4d20a5b7..9b7236432d 100644 --- a/app/selfserve/module/Olcs/src/Table/Tables/txc-inbox.table.php +++ b/app/selfserve/module/Olcs/src/Table/Tables/txc-inbox.table.php @@ -2,6 +2,7 @@ use Common\Service\Table\Formatter\BusRegStatus; use Common\Service\Table\Formatter\EbsrRegNumberLink; +use Common\Service\Table\Formatter\EbsrVariationNumber; use Common\Service\Table\Formatter\StackValue; return array( @@ -47,7 +48,7 @@ 'title' => 'selfserve-table-txc-inbox-variation', 'isNumeric' => true, 'formatter' => function ($data, $column) { - $column['formatter'] = 'EbsrVariationNumber'; + $column['formatter'] = EbsrVariationNumber::class; return $this->callFormatter($column, $data); } ),