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