mirror of
https://github.com/erusev/parsedown.git
synced 2024-09-20 03:51:29 +02:00
variable names should express what they represent rather than why they represent it
This commit is contained in:
parent
033c2b78c1
commit
f40dbdfb65
@ -121,11 +121,11 @@ class Parsedown
|
|||||||
|
|
||||||
foreach ($lines as $index => $line)
|
foreach ($lines as $index => $line)
|
||||||
{
|
{
|
||||||
# Quick Line
|
# ~
|
||||||
|
|
||||||
if (isset($line) and $line !== '' and $line[0] >= 'A')
|
if (isset($line) and $line !== '' and $line[0] >= 'A')
|
||||||
{
|
{
|
||||||
$quick_line = $line;
|
$simple_line = $line;
|
||||||
|
|
||||||
unset($line);
|
unset($line);
|
||||||
}
|
}
|
||||||
@ -329,11 +329,11 @@ class Parsedown
|
|||||||
|
|
||||||
# Paragraph
|
# Paragraph
|
||||||
|
|
||||||
if (isset($quick_line))
|
if (isset($simple_line))
|
||||||
{
|
{
|
||||||
$line = $quick_line;
|
$line = $simple_line;
|
||||||
|
|
||||||
unset($quick_line);
|
unset($simple_line);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($line) and $line !== '')
|
if (isset($line) and $line !== '')
|
||||||
|
Loading…
Reference in New Issue
Block a user