Skip to content

Commit

Permalink
Merge pull request #7564 from AndrolGenhald/fix-globals-documentation
Browse files Browse the repository at this point in the history
Fix documentation for <globals> config.
  • Loading branch information
orklah committed Feb 2, 2022
2 parents 8098755 + 9429010 commit 0fe1449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/running_psalm/configuration.md
Expand Up @@ -489,8 +489,8 @@ The following configuration declares custom types for super-globals (`$GLOBALS`

```xml
<globals>
<var name="$GLOBALS" type="array{DB: MyVendor\DatabaseConnection, VIEW: MyVendor\TemplateView}" />
<var name="$_GET" type="array{data: array<string, string>}" />
<var name="GLOBALS" type="array{DB: MyVendor\DatabaseConnection, VIEW: MyVendor\TemplateView}" />
<var name="_GET" type="array{data: array<string, string>}" />
</globals>
```

Expand Down

0 comments on commit 0fe1449

Please sign in to comment.