1
0
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:
Matthew Brown 2020-09-04 21:57:53 -04:00 committed by Daniil Gentili
parent 4dc045f30d
commit 3912d31365
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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;