More documentation for cronjob

This commit is contained in:
2024-07-18 10:09:12 +02:00
parent 643156f822
commit 97239ada84
2 changed files with 13 additions and 6 deletions

View File

@@ -24,9 +24,8 @@ interface CronJobInterface
*
* If data is returned, this data is passed as argument on the next execution
*
* @param array $lastExecutionData the data which was returned from the previous execution
*
* @return array|null optionally return an array with the same data than the previous execution
* @param array<string|int, int|float|string|bool|array<int|string, int|float|string|bool>> $lastExecutionData the data which was returned from the previous execution
* @return array<string|int, int|float|string|bool|array<int|string, int|float|string|bool>>|null optionally return an array with the same data than the previous execution
*/
public function run(array $lastExecutionData): ?array;
}