@@ 134-143 (lines=10) @@ | ||
131 | // ->dump(true) |
|
132 | ; |
|
133 | ||
134 | if (null !== $root_OrRule) { |
|
135 | if ( ! $root_OrRule->hasSolution()) { |
|
136 | return null; |
|
137 | } |
|
138 | ||
139 | $root_cases = $root_OrRule->getOperands(); |
|
140 | } |
|
141 | else { |
|
142 | $root_cases = []; |
|
143 | } |
|
144 | ||
145 | if ( ! isset($options['recurse'])) { |
|
146 | $options['recurse'] = 'before'; |
|
@@ 233-242 (lines=10) @@ | ||
230 | // ->dump(true) |
|
231 | ; |
|
232 | ||
233 | if (null !== $root_OrRule) { |
|
234 | if ( ! $root_OrRule->hasSolution()) { |
|
235 | return null; |
|
236 | } |
|
237 | ||
238 | $root_cases = $root_OrRule->getOperands(); |
|
239 | } |
|
240 | else { |
|
241 | $root_cases = []; |
|
242 | } |
|
243 | ||
244 | return $this->applyOnRow( |
|
245 | $root_cases, |