Skip to content

Commit

Permalink
misc: rename internal class
Browse files Browse the repository at this point in the history
  • Loading branch information
romm committed Apr 1, 2024
1 parent 13f69a9 commit 4c62d87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Library/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
use CuyZ\Valinor\Mapper\Tree\Builder\InterfaceNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\IterableNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\ListNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\NativeClassNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\ObjectNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\NodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\NullNodeBuilder;
use CuyZ\Valinor\Mapper\Tree\Builder\ObjectImplementations;
Expand Down Expand Up @@ -111,7 +111,7 @@ public function __construct(Settings $settings)
ShapedArrayType::class => new ShapedArrayNodeBuilder($settings->allowSuperfluousKeys),
ScalarType::class => new ScalarNodeBuilder($settings->enableFlexibleCasting),
NullType::class => new NullNodeBuilder(),
ObjectType::class => new NativeClassNodeBuilder(
ObjectType::class => new ObjectNodeBuilder(
$this->get(ClassDefinitionRepository::class),
$this->get(ObjectBuilderFactory::class),
$this->get(FilteredObjectNodeBuilder::class),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use function assert;

/** @internal */
final class NativeClassNodeBuilder implements NodeBuilder
final class ObjectNodeBuilder implements NodeBuilder
{
public function __construct(
private ClassDefinitionRepository $classDefinitionRepository,
Expand Down

0 comments on commit 4c62d87

Please # to comment.