mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
cleanup
This commit is contained in:
parent
3c1761bcc3
commit
34ebf58020
|
@ -73,9 +73,9 @@ PHP
|
|||
return null;
|
||||
}
|
||||
|
||||
/** @var PhpDocInfo $phpDocInfo */
|
||||
/** @var PhpDocInfo|null $phpDocInfo */
|
||||
$phpDocInfo = $node->getAttribute(AttributeKey::PHP_DOC_INFO);
|
||||
if (! $phpDocInfo->hasByType(JMSInjectParamsTagValueNode::class)) {
|
||||
if ($phpDocInfo === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user