@@ -57,7 +57,7 @@ |
||
57 | 57 | case '!omap': $value->type = Y::SEQUENCE;break; |
58 | 58 | // assumed to be !str,!binary |
59 | 59 | default: $parent = null; |
60 | - $value->type = Y::RAW; |
|
60 | + $value->type = Y::RAW; |
|
61 | 61 | } |
62 | 62 | $this->value = Builder::buildNodeList($value, $parent); |
63 | 63 | return $this->value; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | if ($n->type & (Y::REF_CALL|Y::SCALAR)) return self::getScalar((string) $n->value); |
28 | 28 | if ($n->type & Y::JSON) return $n->value; |
29 | 29 | $expected = [Y::QUOTED => trim((string) $n->value, "\"'"), |
30 | - Y::RAW => strval((string) $n->value)]; |
|
30 | + Y::RAW => strval((string) $n->value)]; |
|
31 | 31 | return $expected[$n->type] ?? null; |
32 | 32 | } |
33 | 33 |