mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +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;
|
|
```
|