Code Duplication    Length = 6-6 lines in 2 locations

src/Core/Parser/BooleanParser.php 2 locations

@@ 443-448 (lines=6) @@
440
            }
441
        }
442
443
        if (trim(strtolower($x)) === 'true') {
444
            if ($this->compileToCode === true) {
445
                return 'TRUE';
446
            }
447
            return true;
448
        }
449
        if (trim(strtolower($x)) === 'false') {
450
            if ($this->compileToCode === true) {
451
                return 'FALSE';
@@ 449-454 (lines=6) @@
446
            }
447
            return true;
448
        }
449
        if (trim(strtolower($x)) === 'false') {
450
            if ($this->compileToCode === true) {
451
                return 'FALSE';
452
            }
453
            return false;
454
        }
455
456
        if ($this->compileToCode === true) {
457
            return '"' . trim($x, '\'"') . '"';