mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +01:00
10 lines
97 B
Markdown
10 lines
97 B
Markdown
# InvalidScope
|
|
|
|
Emitted when referring to `$this` outside a class
|
|
|
|
```php
|
|
<?php
|
|
|
|
echo $this;
|
|
```
|