From f40dbdfb657985c89ec03fdbf48b8a21c46c9949 Mon Sep 17 00:00:00 2001 From: Emanuil <4thmail@gmail.com> Date: Thu, 19 Sep 2013 23:54:28 +0300 Subject: [PATCH] variable names should express what they represent rather than why they represent it --- Parsedown.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Parsedown.php b/Parsedown.php index c252b2d..447a7d0 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -121,11 +121,11 @@ class Parsedown foreach ($lines as $index => $line) { - # Quick Line + # ~ if (isset($line) and $line !== '' and $line[0] >= 'A') { - $quick_line = $line; + $simple_line = $line; unset($line); } @@ -329,11 +329,11 @@ class Parsedown # 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 !== '')