From 02612b17355312cba8b54fc0c2ab8f4eadefebc1 Mon Sep 17 00:00:00 2001 From: Dick Donohue Date: Thu, 19 Aug 2021 13:50:39 -0600 Subject: [PATCH] Update TableGatewayAbstractFactory.php Change deprecated `ArraySerializable` to `ArraySerializableHydrator` Signed-off-by: Dick Donohue --- src/TableGatewayAbstractFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TableGatewayAbstractFactory.php b/src/TableGatewayAbstractFactory.php index 3272111..e8f0018 100644 --- a/src/TableGatewayAbstractFactory.php +++ b/src/TableGatewayAbstractFactory.php @@ -183,7 +183,7 @@ protected function getAdapterFromConfig(array $config, ContainerInterface $conta * Retrieve the configured hydrator. * * If configuration defines a `hydrator_name`, that service will be - * retrieved from the HydratorManager; otherwise ArraySerializable + * retrieved from the HydratorManager; otherwise ArraySerializableHydrator * will be retrieved. * * @param array $config @@ -191,7 +191,7 @@ protected function getAdapterFromConfig(array $config, ContainerInterface $conta */ protected function getHydratorFromConfig(array $config, ContainerInterface $container) { - $hydratorName = $config['hydrator_name'] ?? 'ArraySerializable'; + $hydratorName = $config['hydrator_name'] ?? 'ArraySerializableHydrator'; $hydrators = $container->get('HydratorManager'); return $hydrators->get($hydratorName); }