|
|
@@ -40,12 +40,12 @@ class StationTaskBatchService
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @param $batches Batch[]
|
|
|
+ * @param Collection $batches Batch[]
|
|
|
* @param Collection $stationTasks_toAttach
|
|
|
* @return Collection
|
|
|
* @throws Exception
|
|
|
*/
|
|
|
- function createByBatches(array $batches, Collection $stationTasks_toAttach): Collection
|
|
|
+ function createByBatches(Collection $batches, Collection $stationTasks_toAttach): Collection
|
|
|
{
|
|
|
$this->stationService = app('StationService');
|
|
|
$this->stationTypeService = app('StationTypeService');
|