@@ -62,7 +62,8 @@ |
||
| 62 | 62 | if (!empty($oJobEntity->schedule) && empty($oJobEntity->parents)) |
| 63 | 63 | { |
| 64 | 64 | $_sTargetUrl = '/scheduler/iso8601'; |
| 65 | - } elseif (empty($oJobEntity->schedule) && !empty($oJobEntity->parents)) |
|
| 65 | + } |
|
| 66 | + elseif (empty($oJobEntity->schedule) && !empty($oJobEntity->parents)) |
|
| 66 | 67 | { |
| 67 | 68 | $_sTargetUrl = '/scheduler/dependency'; |
| 68 | 69 | } |
@@ -38,8 +38,7 @@ |
||
| 38 | 38 | try |
| 39 | 39 | { |
| 40 | 40 | return self::$aIso8601Entity[$_sKey] = new Iso8601Entity($sIso8601); |
| 41 | - } |
|
| 42 | - catch (\InvalidArgumentException $_oException) |
|
| 41 | + } catch (\InvalidArgumentException $_oException) |
|
| 43 | 42 | { |
| 44 | 43 | throw new DatePeriodException(sprintf("Can't init Iso8601Entity for '%s' iso 8601 string.", $sIso8601), 1, $_oException); |
| 45 | 44 | } |