@@ -15,10 +15,10 @@ discard block |
||
15 | 15 | //public |
16 | 16 | /* @var null|string */ |
17 | 17 | public static $error; |
18 | - public const IGNORE_DIRECTIVES = 1;//DONT include_directive |
|
19 | - public const IGNORE_COMMENTS = 2;//DONT include_comments |
|
20 | - public const NO_PARSING_EXCEPTIONS = 4;//DONT throw Exception on parsing errors |
|
21 | - public const NO_OBJECT_FOR_DATE = 8;//DONT import date strings as dateTime Object |
|
18 | + public const IGNORE_DIRECTIVES = 1; //DONT include_directive |
|
19 | + public const IGNORE_COMMENTS = 2; //DONT include_comments |
|
20 | + public const NO_PARSING_EXCEPTIONS = 4; //DONT throw Exception on parsing errors |
|
21 | + public const NO_OBJECT_FOR_DATE = 8; //DONT import date strings as dateTime Object |
|
22 | 22 | |
23 | 23 | //private |
24 | 24 | /* @var null|array */ |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | $previous = $target->add($node); |
139 | 139 | } |
140 | 140 | $this->attachBlankLines($previous); |
141 | - if ($this->_debug === 1){ |
|
141 | + if ($this->_debug === 1) { |
|
142 | 142 | return; |
143 | 143 | } |
144 | 144 | return Builder::buildContent($root, $this->_debug); |
@@ -179,8 +179,8 @@ discard block |
||
179 | 179 | { |
180 | 180 | $deepest = $previous->getDeepestNode(); |
181 | 181 | if ($deepest instanceof NodePartial) { |
182 | - return $deepest->specialProcess($current, $this->_blankBuffer); |
|
183 | - } elseif(!($current instanceof NodePartial)) { |
|
182 | + return $deepest->specialProcess($current, $this->_blankBuffer); |
|
183 | + } elseif (!($current instanceof NodePartial)) { |
|
184 | 184 | return $current->specialProcess($previous, $this->_blankBuffer); |
185 | 185 | } |
186 | 186 | return false; |