[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
1 changed files with 4 additions and 4 deletions

View File

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