mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-14 12:29:43 +01:00
conventions
This commit is contained in:
parent
5337e6cf84
commit
108727540d
@ -105,7 +105,7 @@ CODE_SAMPLE
|
||||
*/
|
||||
public function refactor(Node $classMethodNode): ?Node
|
||||
{
|
||||
if ($this->docBlockAnalyzer->hasTag($classMethodNode, 'Template') === false) {
|
||||
if (! $this->docBlockAnalyzer->hasTag($classMethodNode, 'Template')) {
|
||||
return null;
|
||||
}
|
||||
/** @var Return_|null $returnNode */
|
||||
|
Loading…
x
Reference in New Issue
Block a user