1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Remove useless variables

This commit is contained in:
Aidan Woods
2019-01-21 18:18:35 +00:00
parent dac6b01d1a
commit 6add0ea877
2 changed files with 1 additions and 3 deletions

View File

@ -105,8 +105,6 @@ final class Table implements ContinuableBlock
return null; return null;
} }
$Elements = [];
$row = \trim(\trim($Context->line()->text()), '|'); $row = \trim(\trim($Context->line()->text()), '|');
if ( if (

View File

@ -53,7 +53,7 @@ final class Link implements Inline
if (! \preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches)) { if (! \preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches)) {
return null; return null;
} }
$rawLabelPart = $matches[0];
$label = $matches[1]; $label = $matches[1];
$width = \strlen($matches[0]); $width = \strlen($matches[0]);