mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix docblock removal
This commit is contained in:
parent
ae51f40a54
commit
5dc60d7d6a
@ -379,7 +379,7 @@ class FunctionDocblockManipulator
|
||||
|
||||
$old_psalm_return_type = null;
|
||||
if (isset($parsed_docblock->tags['psalm-return'])) {
|
||||
$old_psalm_return_type = array_shift($parsed_docblock->tags['psalm-return']);
|
||||
$old_psalm_return_type = reset($parsed_docblock->tags['psalm-return']);
|
||||
}
|
||||
|
||||
if ($this->new_psalm_return_type
|
||||
|
Loading…
Reference in New Issue
Block a user