@@ -62,7 +62,6 @@ |
||
62 | 62 | %TAG !! tag:example.com,2000:app/ |
63 | 63 | %TAG !e! tag:example.com,2000:app/ |
64 | 64 | !<tag:yaml.org,2002:str> foo : |
65 | - |
|
66 | 65 | */ |
67 | 66 | /** |
68 | 67 | * Add Handlers for legacy Yaml tags |
@@ -12,17 +12,17 @@ |
||
12 | 12 | */ |
13 | 13 | class Comment extends NodeGeneric |
14 | 14 | { |
15 | - public function specialProcess(NodeGeneric &$previous, array &$emptyLines): bool |
|
16 | - { |
|
17 | - $previous->getRoot()->add($this); |
|
18 | - return true; |
|
19 | - } |
|
15 | + public function specialProcess(NodeGeneric &$previous, array &$emptyLines): bool |
|
16 | + { |
|
17 | + $previous->getRoot()->add($this); |
|
18 | + return true; |
|
19 | + } |
|
20 | 20 | |
21 | - public function build(&$parent = null) |
|
22 | - { |
|
23 | - $root = $this->getRoot(); |
|
24 | - $yamlObject = $root->getYamlObject(); |
|
25 | - $yamlObject->addComment($this->line, $this->raw); |
|
26 | - return null; |
|
27 | - } |
|
21 | + public function build(&$parent = null) |
|
22 | + { |
|
23 | + $root = $this->getRoot(); |
|
24 | + $yamlObject = $root->getYamlObject(); |
|
25 | + $yamlObject->addComment($this->line, $this->raw); |
|
26 | + return null; |
|
27 | + } |
|
28 | 28 | } |