|
@@ -23,7 +23,7 @@ |
|
|
block discarded – undo |
|
23
|
23
|
public function process(array $notations, string $value): array |
|
24
|
24
|
{ |
|
25
|
25
|
$regexp = '/^(?<location>(?:[^"]\S*|"[^"]+"))(?:\s*(?<start_line>\d+)' |
|
26
|
|
- . '(?:\s*(?<number_of_lines>\d+))?)?(?:\s*(?<description>.+))?/'; |
|
|
26
|
+ . '(?:\s*(?<number_of_lines>\d+))?)?(?:\s*(?<description>.+))?/'; |
|
27
|
27
|
|
|
28
|
28
|
if (!preg_match($regexp, $value, $matches)) { |
|
29
|
29
|
throw new PhpdocException("Failed to parse '@{$this->name} $value': invalid syntax"); |
Please login to merge, or discard this patch.