Skip to content

Commit c1edc5d

Browse files
committed
Rename config method to enableDumpEnumIsMethods
For consistency.
1 parent 9aaf1e8 commit c1edc5d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function enableAddUnknownCaseToEnums() : self
351351
);
352352
}
353353

354-
public function dumpEnumIsMethods() : self
354+
public function enableDumpEnumIsMethods() : self
355355
{
356356
return new self(
357357
$this->schema,

tests/EnumDumpIsMethods/EnumDumpIsMethodsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getConfig() : Config
1919
{
2020
return parent::getConfig()
2121
->enableAddUnknownCaseToEnums()
22-
->dumpEnumIsMethods()
22+
->enableDumpEnumIsMethods()
2323
->withEnumType('Priority', Type::enum(CustomPriority::class));
2424
}
2525

0 commit comments

Comments
 (0)