@@ -170,7 +170,7 @@ |
||
| 170 | 170 | * @param array $fieldGroupIdentifierList |
| 171 | 171 | * @param int $maxConcurrentJobsCount |
| 172 | 172 | * |
| 173 | - * @return bool |
|
| 173 | + * @return integer |
|
| 174 | 174 | */ |
| 175 | 175 | private function calculateAvailableSlotsCount($lockNames, $fieldGroupIdentifierList, $maxConcurrentJobsCount) |
| 176 | 176 | { |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | */ |
| 187 | 187 | private function calculateAvailableSlotsCount($lockNames, $fieldGroupIdentifierList, $maxConcurrentJobsCount) |
| 188 | 188 | { |
| 189 | - $concurrentJobsCount = count(array_intersect($fieldGroupIdentifierList , $lockNames)); |
|
| 189 | + $concurrentJobsCount = count(array_intersect($fieldGroupIdentifierList, $lockNames)); |
|
| 190 | 190 | |
| 191 | 191 | return $maxConcurrentJobsCount - $concurrentJobsCount; |
| 192 | 192 | } |