Skip to content

Commit

Permalink
Issue #110: Rename methods to withDefaultObject*().
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Dec 2, 2024
1 parent a04c8eb commit 1d6667a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/OckServicesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ protected function createExporter(): Exporter_ToYamlArray {
)
->withObjectGetters(Alias::class)
->withObjectGetters(Definition::class, ['isPrivate()', 'getChanges()'])
->withReferenceObject(new Alias('#'))
->withReferenceObjectFactory(
->withDefaultObject(new Alias('#'))
->withDefaultObjectFactory(
Definition::class,
function (string|int|null $key) {
$class = is_string($key) ? $key : null;
Expand Down

0 comments on commit 1d6667a

Please sign in to comment.