Skip to content

Commit

Permalink
Fix typo in code sample in worker.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla authored and dunglas committed Jun 11, 2024
1 parent d99ce65 commit c0c56a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ $handler = static function () use ($myApp) {
};

$maxRequests = (int)($_SERVER['MAX_REQUESTS'] ?? 0);
for ($nbRequests = 0; !$maxRequests || $nbRequests < maxRequests; ++$nbRequests) {
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
$keepRunning = \frankenphp_handle_request($handler);

// Do something after sending the HTTP response
Expand Down

0 comments on commit c0c56a8

Please sign in to comment.