Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed Dec 14, 2018
1 parent 65c124e commit d034c5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Configuration/ShortFormTypeConfigPass.php
Expand Up @@ -69,7 +69,7 @@ private function replaceShortFormTypesInObjectConfig(array $objectConfig)

if (\array_key_exists($field['type'], $shortFormTypes)) {
$configPathItem[$name]['type'] = $shortFormTypes[$field['type']];
} elseif (self::isLegacyEasyAdminFormShortType($field['type'])) {
} elseif (self::isEasyAdminFormShortType($field['type'])) {
$configPathItem[$name]['type'] = FormTypeHelper::getTypeClass($field['type']);
}
}
Expand All @@ -83,7 +83,7 @@ private function replaceShortFormTypesInObjectConfig(array $objectConfig)
return $objectConfig;
}

private static function isLegacyEasyAdminFormShortType(string $shortType)
private static function isEasyAdminFormShortType(string $shortType)
{
$legacyEasyAdminMatchingType = FormTypeHelper::getTypeClass($shortType);

Expand Down

0 comments on commit d034c5d

Please sign in to comment.