Skip to content

Commit c218d7c

Browse files
committed
refactor: update timeout property documentation and formatting
1 parent e622847 commit c218d7c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/Workflows/MealPlanDayWorkflow.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,15 @@
1414

1515
final class MealPlanDayWorkflow extends Workflow
1616
{
17-
public int $timeout = 300; // 5 minutes per day
17+
/** @var int 5 minutes per day */
18+
public $timeout = 300;
1819

1920
/**
2021
* Generate meals for a specific day in an existing meal plan.
2122
*
2223
* @codeCoverageIgnore Generator methods with yield are executed by the workflow engine
24+
*
25+
* @phpstan-return Generator<mixed, mixed, mixed, mixed>
2326
*/
2427
public function execute(
2528
MealPlan $mealPlan,

0 commit comments

Comments
 (0)