mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-14 04:44:57 +01:00
13 lines
225 B
PHP
13 lines
225 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\BetterPhpDocParser\Annotation;
|
|
|
|
final class AnnotationNaming
|
|
{
|
|
public function normalizeName(string $name) : string
|
|
{
|
|
return '@' . \ltrim($name, '@');
|
|
}
|
|
}
|