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:
parent
e8fbba5de2
commit
010b805397
@ -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";
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user