mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 09:47:29 +01:00
commit
4ca171001c
@ -237,7 +237,7 @@ class FunctionDocblockManipulator
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($chars[$i + 1] === '\\' || preg_match('/\w/', $char)) {
|
if ($chars[$i] === '\\' || preg_match('/\w/', $char)) {
|
||||||
if ($this->return_typehint_start === null) {
|
if ($this->return_typehint_start === null) {
|
||||||
$this->return_typehint_start = $i + $end_bracket_position + 1;
|
$this->return_typehint_start = $i + $end_bracket_position + 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user