1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Update MissingThrowsDocblock.md (#3878)

This commit is contained in:
Jack Leigh 2020-07-25 01:33:50 +12:00 committed by GitHub
parent ff432ff73d
commit 367d5947ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,8 @@
# MissingThrowsDocblock
Emitted when a function doesn't have a return type defined
Enabled when the `checkForThrowsDocblock` configuration option is enabled.
Emitted when a function throws (or fails to handle) an exception and does not have a `@throws` annotation.
```php
<?php