[Yaml] improved boolean naming ($notEOF -> !$EOF)
This commit is contained in:
parent
047212a439
commit
fb686d83de
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user