Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit e9a60bf

Browse files
committed
Updated classes and tests to use zend-hydrator
- Updated `HydratorManagerFactory` to reference zend-hydrator's `HydratorPluginManager` instead of the one from zend-stdlib. - Updated a test asset to use zend-hydrator for hydrators; tests passed both before and after the change, proving LSP.
1 parent 70f5587 commit e9a60bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Service/HydratorManagerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111

1212
class HydratorManagerFactory extends AbstractPluginManagerFactory
1313
{
14-
const PLUGIN_MANAGER_CLASS = 'Zend\Stdlib\Hydrator\HydratorPluginManager';
14+
const PLUGIN_MANAGER_CLASS = 'Zend\Hydrator\HydratorPluginManager';
1515
}

test/Service/TestAsset/CustomForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
namespace ZendTest\Mvc\Service\TestAsset;
1111

1212
use Zend\Form\Form;
13-
use Zend\Stdlib\Hydrator\ClassMethods as ClassMethodsHydrator;
13+
use Zend\Hydrator\ClassMethods as ClassMethodsHydrator;
1414

1515
class CustomForm extends Form
1616
{

0 commit comments

Comments
 (0)