1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix wrong documentation for referenced variable (#3990)

This commit is contained in:
kesselb 2020-08-14 20:02:41 +02:00 committed by GitHub
parent 72ecb57def
commit 669a843cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ Some issue types allow the use of `referencedMethod`, `referencedClass` or `refe
</PropertyNotSetInConstructor> </PropertyNotSetInConstructor>
<UndefinedGlobalVariable> <UndefinedGlobalVariable>
<errorLevel type="suppress"> <errorLevel type="suppress">
<referencedVariable name="fooBar" /> <!-- if your variable is "$fooBar" --> <referencedVariable name="$fooBar" /> <!-- if your variable is "$fooBar" -->
</errorLevel> </errorLevel>
</UndefinedGlobalVariable> </UndefinedGlobalVariable>
</issueHandlers> </issueHandlers>