Skip to content

Commit

Permalink
Add missing variable in code example (#3544)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen authored Nov 14, 2023
1 parent 2b18b55 commit f7b66b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/php/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ $queue = [
'job2',
'job3',
];
$meterProvider
$reader = $meterProvider
->getMeter('demo_meter')
->createObservableGauge('queued', 'jobs', 'The number of jobs enqueued')
->observe(static function (ObserverInterface $observer) use (&$queue): void {
Expand Down

0 comments on commit f7b66b1

Please sign in to comment.