Remove no longer used annotation use statements and replace with attribute use statements

This commit is contained in:
2025-10-01 18:38:41 +02:00
parent d8528dceab
commit 32d2bb002b
486 changed files with 495 additions and 1063 deletions

View File

@@ -71,10 +71,10 @@ class EntityValueResolver implements ValueResolverInterface
{
// Common parameter naming patterns
$possibleNames = [
$name . 'Id',
$name . '_id',
$this->getShortClassName($type) . '_id',
$this->getShortClassName($type) . 'Id',
$name.'Id',
$name.'_id',
$this->getShortClassName($type).'_id',
$this->getShortClassName($type).'Id',
'id',
];
@@ -111,6 +111,7 @@ class EntityValueResolver implements ValueResolverInterface
private function getShortClassName(string $class): string
{
$parts = explode('\\', $class);
return end($parts);
}