mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Add missing opening PHP tag in the docs (#5617)
* Add missing opening PHP tag in the docs * Fix typo
This commit is contained in:
parent
f874740c83
commit
5777c00073
@ -507,9 +507,10 @@ class User {
|
||||
|
||||
### `@psalm-require-extends`
|
||||
|
||||
The @psalm-require-extends-annotation allows you to define a requirements that a trait imposes on the using class.
|
||||
The `@psalm-require-extends` annotation allows you to define a requirements that a trait imposes on the using class.
|
||||
|
||||
```php
|
||||
<?php
|
||||
abstract class DatabaseModel {
|
||||
// methods, properties, etc.
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user