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