1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix issue description

This commit is contained in:
Matthew Brown 2020-03-23 23:55:51 -04:00 committed by GitHub
parent e8fbba5de2
commit 010b805397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# ImplementedReturnTypeMismatch
Emitted when a class that inherits another, or implements an interface, has docblock return type that's entirely different to the parent. Subclasses of the parent return type are permitted, in docblocks.
Emitted when a class that inherits another, or implements an interface, has a docblock return type that's entirely different to the parent.
```php
<?php
@ -40,3 +40,4 @@ class B extends A {
return "hello";
}
}
```