@@ -8,10 +8,10 @@ |
||
8 | 8 | class FluidContext implements FluidInterface, \ArrayAccess, \Iterator |
9 | 9 | { |
10 | 10 | use FluidAliasesTrait, |
11 | - FluidSaveTrait, |
|
12 | - NewableTrait, |
|
13 | - ReservedCallTrait, // For compatibility with PHP 5.6. |
|
14 | - ReservedCallStaticTrait; // For compatibility with PHP 5.6. |
|
11 | + FluidSaveTrait, |
|
12 | + NewableTrait, |
|
13 | + ReservedCallTrait, // For compatibility with PHP 5.6. |
|
14 | + ReservedCallStaticTrait; // For compatibility with PHP 5.6. |
|
15 | 15 | |
16 | 16 | private $document; |
17 | 17 | private $handler; |
@@ -8,17 +8,17 @@ discard block |
||
8 | 8 | class FluidXml implements FluidInterface |
9 | 9 | { |
10 | 10 | use FluidAliasesTrait, |
11 | - FluidSaveTrait, |
|
12 | - NewableTrait, |
|
13 | - ReservedCallTrait, // For compatibility with PHP 5.6. |
|
14 | - ReservedCallStaticTrait; // For compatibility with PHP 5.6. |
|
11 | + FluidSaveTrait, |
|
12 | + NewableTrait, |
|
13 | + ReservedCallTrait, // For compatibility with PHP 5.6. |
|
14 | + ReservedCallStaticTrait; // For compatibility with PHP 5.6. |
|
15 | 15 | |
16 | 16 | const ROOT_NODE = 'doc'; |
17 | 17 | |
18 | 18 | private $defaults = [ 'root' => self::ROOT_NODE, |
19 | - 'version' => '1.0', |
|
20 | - 'encoding' => 'UTF-8', |
|
21 | - 'stylesheet' => null ]; |
|
19 | + 'version' => '1.0', |
|
20 | + 'encoding' => 'UTF-8', |
|
21 | + 'stylesheet' => null ]; |
|
22 | 22 | |
23 | 23 | private $document; |
24 | 24 | private $handler; |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | // Now, we can further populate the DOM with any stylesheet or child. |
64 | 64 | $this->initStylesheet($options) |
65 | - ->initRoot($options); |
|
65 | + ->initRoot($options); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | protected function mergeOptions(&$arguments) |
@@ -97,9 +97,9 @@ discard block |
||
97 | 97 | { |
98 | 98 | if (! empty($options['stylesheet'])) { |
99 | 99 | $attrs = 'type="text/xsl" ' |
100 | - . "encoding=\"{$options['encoding']}\" " |
|
101 | - . 'indent="yes" ' |
|
102 | - . "href=\"{$options['stylesheet']}\""; |
|
100 | + . "encoding=\"{$options['encoding']}\" " |
|
101 | + . 'indent="yes" ' |
|
102 | + . "href=\"{$options['stylesheet']}\""; |
|
103 | 103 | |
104 | 104 | $stylesheet = new \DOMProcessingInstruction('xml-stylesheet', $attrs); |
105 | 105 |