mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix unnecessary var
This commit is contained in:
parent
4dc045f30d
commit
3912d31365
@ -119,7 +119,6 @@ class DocComment
|
||||
// Parse @specials.
|
||||
if (preg_match_all('/^\s?@([\w\-:]+)[\t ]*([^\n]*)/m', $docblock, $matches, PREG_SET_ORDER)) {
|
||||
$docblock = preg_replace('/^\s?@([\w\-:]+)\s*([^\n]*)/m', '', $docblock);
|
||||
/** @var string[] $match */
|
||||
foreach ($matches as $m => $match) {
|
||||
[$_, $type, $data] = $match;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user