mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
fix few Rector descriptions
This commit is contained in:
parent
6bdb9986ee
commit
cea50c4008
@ -79,7 +79,7 @@ $name = $constNode->name;
|
|||||||
CODE_SAMPLE
|
CODE_SAMPLE
|
||||||
,
|
,
|
||||||
<<<'CODE_SAMPLE'
|
<<<'CODE_SAMPLE'
|
||||||
'$constNode = new \PhpParser\Node\Const_;
|
$constNode = new \PhpParser\Node\Const_;
|
||||||
$name = $constNode->name->toString();'
|
$name = $constNode->name->toString();'
|
||||||
CODE_SAMPLE
|
CODE_SAMPLE
|
||||||
),
|
),
|
||||||
|
@ -73,7 +73,9 @@ final class TemplateAnnotationRector extends AbstractRector
|
|||||||
[
|
[
|
||||||
new CodeSample(
|
new CodeSample(
|
||||||
<<<'CODE_SAMPLE'
|
<<<'CODE_SAMPLE'
|
||||||
/** @Template() */
|
/**
|
||||||
|
* @Template()
|
||||||
|
*/
|
||||||
public function indexAction()
|
public function indexAction()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user