[Yaml] improved boolean naming ($notEOF -> !$EOF)

This commit is contained in:
Pavel Volokitin 2013-04-12 15:31:52 +06:00
parent 047212a439
commit fb686d83de

View File

@ -482,13 +482,13 @@ class Parser
private function isNextLineIndented() private function isNextLineIndented()
{ {
$currentIndentation = $this->getCurrentLineIndentation(); $currentIndentation = $this->getCurrentLineIndentation();
$notEOF = $this->moveToNextLine(); $EOF = !$this->moveToNextLine();
while ($notEOF && $this->isCurrentLineEmpty()) { while (!$EOF && $this->isCurrentLineEmpty()) {
$notEOF = $this->moveToNextLine(); $EOF = !$this->moveToNextLine();
} }
if (false === $notEOF) { if ($EOF) {
return false; return false;
} }