@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | //var_dump("YAMLOBJECT"); |
| 69 | 69 | return $this->dumpYamlObject($compound); |
| 70 | 70 | } elseif ($compound instanceof Compact) { |
| 71 | - return $this->dumpCompact($compound, $indent); |
|
| 71 | + return $this->dumpCompact($compound, $indent); |
|
| 72 | 72 | } elseif (is_array($compound)) { |
| 73 | 73 | //var_dump("ARRAY"); |
| 74 | 74 | $iterator = new \ArrayIterator($compound); |
@@ -97,8 +97,8 @@ discard block |
||
| 97 | 97 | private function dumpYamlObject(YamlObject $obj):string |
| 98 | 98 | { |
| 99 | 99 | if ($this->multipleDocs || $obj->hasDocStart() || $obj->isTagged()) { |
| 100 | - $this->multipleDocs = true; |
|
| 101 | - // && $this->$result instanceof DLL) $this->$result->push("---"); |
|
| 100 | + $this->multipleDocs = true; |
|
| 101 | + // && $this->$result instanceof DLL) $this->$result->push("---"); |
|
| 102 | 102 | } |
| 103 | 103 | if (count($obj) > 0) { |
| 104 | 104 | //var_dump("indices"); |