1
0
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:
Jacob Dreesen 2021-04-13 05:50:52 +02:00 committed by GitHub
parent f874740c83
commit 5777c00073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
}