static fix

This commit is contained in:
Tomas Votruba 2018-04-29 22:49:07 +02:00
parent e71362c39b
commit f3defe7677

View File

@ -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 {