| Conditions | 4 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | private function nextstep() |
||
| 23 | { |
||
| 24 | $steps = $this->owner->getSteps(); |
||
| 25 | $found = false; |
||
| 26 | foreach ($steps as $step => $class) { |
||
| 27 | //determine if this is the current step |
||
| 28 | if (method_exists($this, $step)) { |
||
| 29 | $found = true; |
||
| 30 | } elseif ($found) { |
||
| 31 | return $step; |
||
| 32 | } |
||
| 33 | } |
||
| 34 | return null; |
||
| 35 | } |
||
| 47 |