mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
fix cs
This commit is contained in:
parent
d55b6ea8e0
commit
66a39a1ac9
@ -28,8 +28,8 @@ final class DispatchStringToObjectRector extends AbstractRector
|
||||
return new RuleDefinition(
|
||||
'Change string events to anonymous class which implement \League\Event\HasEventName',
|
||||
[
|
||||
new CodeSample(
|
||||
<<<'CODE_SAMPLE'
|
||||
new CodeSample(
|
||||
<<<'CODE_SAMPLE'
|
||||
final class SomeClass
|
||||
{
|
||||
/** @var \League\Event\EventDispatcher */
|
||||
@ -41,8 +41,8 @@ final class SomeClass
|
||||
}
|
||||
}
|
||||
CODE_SAMPLE
|
||||
,
|
||||
<<<'CODE_SAMPLE'
|
||||
,
|
||||
<<<'CODE_SAMPLE'
|
||||
final class SomeClass
|
||||
{
|
||||
/** @var \League\Event\EventDispatcher */
|
||||
@ -60,9 +60,9 @@ final class SomeClass
|
||||
}
|
||||
}
|
||||
CODE_SAMPLE
|
||||
),
|
||||
|
||||
]);
|
||||
),
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
public function getNodeTypes(): array
|
||||
|
Loading…
x
Reference in New Issue
Block a user