Skip to content

Commit

Permalink
Update Abstract to get the classname without .
Browse files Browse the repository at this point in the history
Fixes errors on e.g. `Versioned::class . '.versioned'` to throw an error on build
  • Loading branch information
Firesphere authored Feb 8, 2023
1 parent e0c3915 commit e490382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generators/AbstractTagGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ protected function getClassConfig($key)
*/
protected function getAnnotationClassName($class)
{
[$class] = explode('.', $class); // Remove dot-notated extension parts
if (DataObjectAnnotator::config()->get('use_short_name')) {
return ClassInfo::shortName($class);
}
Expand Down

0 comments on commit e490382

Please sign in to comment.