mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
@@ -104,12 +104,12 @@ class AbstractPHPStanFactory implements Factory
|
||||
$fixed[] = [
|
||||
rtrim($token[Lexer::VALUE_OFFSET], " \t"),
|
||||
Lexer::TOKEN_PHPDOC_EOL,
|
||||
$token[2],
|
||||
$token[2] ?? 0,
|
||||
];
|
||||
$fixed[] = [
|
||||
ltrim($token[Lexer::VALUE_OFFSET], "\n\r"),
|
||||
Lexer::TOKEN_HORIZONTAL_WS,
|
||||
$token[2] + 1,
|
||||
($token[2] ?? 0) + 1,
|
||||
];
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user