mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
static fix
This commit is contained in:
parent
e71362c39b
commit
f3defe7677
@ -123,7 +123,7 @@ final class DocBlockAnalyzer
|
||||
if ($tagByName->value->parameterName === '$' . $content) {
|
||||
$this->removeTagFromPhpDocNode($phpDocNode, $tagByName);
|
||||
}
|
||||
} elseif ($tagByName->value === $content) {
|
||||
} elseif ((string) $tagByName->value === $content) {
|
||||
$this->removeTagFromPhpDocNode($phpDocNode, $tagByName);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user