public static function nextStep($step)
    {
        $steps = self::getSteps();
        $key = self::getStepIndex($step) + 1;
        if (key_exists($key, $steps)) {
            return $steps[$key];
        } else {
            return null;
        }
    }
public static function nextStep($step)
    {
        $steps = self::getSteps();
        $key = self::getStepIndex($step) + 1;
        if (key_exists($key, $steps)) {
            return $steps[$key];
        } else {
            return null;
        }
    }
public static function nextStep ( $ step ) { $ steps = self :: getSteps ( ) ; $ key = self :: getStepIndex ( $ step ) + 1 ; if ( key_exists ( $ key , $ steps ) ) { return $ steps [ $ key ] ; } else { return null ; } }
Return the next step

@param $step

@return null
Return the next step