@@ -46,9 +46,9 @@ |
||
| 46 | 46 | |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param JobRepositoryInterface $oJobRepositoryLocal |
|
| 49 | + * @param JobRepositoryInterface $oJobRepositoryLocalChronos |
|
| 50 | 50 | * @param JobRepositoryInterface $oJobRepositoryChronos |
| 51 | - * @param JobRepositoryInterface $oJobRepositoryMarathon |
|
| 51 | + * @param JobRepositoryInterface $oJobRepositoryLocalChronos |
|
| 52 | 52 | * @param DiffCompareInterface $oDiffCompare |
| 53 | 53 | * @param DatePeriodFactoryInterface $oDatePeriodFactory |
| 54 | 54 | * @param LoggerInterface $oLogger |
@@ -150,6 +150,9 @@ discard block |
||
| 150 | 150 | return !(count($arr) == count(array_unique($arr))); |
| 151 | 151 | } |
| 152 | 152 | |
| 153 | + /** |
|
| 154 | + * @param integer $immediateChildren |
|
| 155 | + */ |
|
| 153 | 156 | private function isDependencyCircular(JobEntityInterface $oEntity, $immediateChildren, &$path=[]) |
| 154 | 157 | { |
| 155 | 158 | // Invariant: path will not have duplicates for acyclic dependency tree |
@@ -310,6 +313,9 @@ discard block |
||
| 310 | 313 | } |
| 311 | 314 | } |
| 312 | 315 | |
| 316 | + /** |
|
| 317 | + * @param boolean $bForceOverwrite |
|
| 318 | + */ |
|
| 313 | 319 | private function updateJobInLocalRepository($oAppRemote, $bForceOverwrite) |
| 314 | 320 | { |
| 315 | 321 | $_aDiff = $this->oJobComparisionBusinessCase->getJobDiff($oAppRemote->getKey()); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * @param StoreJobBusinessCaseInterface $oStoreJob |
| 18 | 18 | * @return |
| 19 | - */ |
|
| 19 | + void |
|
| 20 | 20 | public function addBusinesCase(StoreJobBusinessCaseInterface $oStoreJob); |
| 21 | 21 | |
| 22 | 22 | /** |
@@ -347,6 +347,9 @@ |
||
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | |
| 350 | + /** |
|
| 351 | + * @param string $sJobFile |
|
| 352 | + */ |
|
| 350 | 353 | private function dumpFileWithGroup($sJobFile, JobEntityInterface $oJobEntity, $bAdd = true) |
| 351 | 354 | { |
| 352 | 355 | $_sGroupConfig = file_get_contents($sJobFile); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param JobEntity $oJobEntity |
|
| 49 | + * @param JobEntityInterface $oJobEntity |
|
| 50 | 50 | * @return bool |
| 51 | 51 | */ |
| 52 | 52 | private function isEpsilonPropertyValid(JobEntityInterface $oJobEntity) |