Skip to content

Commit

Permalink
Add note that passing callback instead of advisory is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevay committed Dec 10, 2023
1 parent f06d75d commit c9d2bb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/API/Metrics/MeterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function createCounter(
* @param string|null $unit unit of measure
* @param string|null $description description of the instrument
* @param array|callable $advisory an optional set of recommendations, or
* the first callback to report measurements
* deprecated: the first callback to report measurements
* @param callable ...$callbacks responsible for reporting measurements
* @return ObservableCounterInterface created instrument
*
Expand Down Expand Up @@ -72,7 +72,7 @@ public function createHistogram(
* @param string|null $unit unit of measure
* @param string|null $description description of the instrument
* @param array|callable $advisory an optional set of recommendations, or
* the first callback to report measurements
* deprecated: the first callback to report measurements
* @param callable ...$callbacks responsible for reporting measurements
* @return ObservableGaugeInterface created instrument
*
Expand Down Expand Up @@ -111,7 +111,7 @@ public function createUpDownCounter(
* @param string|null $unit unit of measure
* @param string|null $description description of the instrument
* @param array|callable $advisory an optional set of recommendations, or
* the first callback to report measurements
* deprecated: the first callback to report measurements
* @param callable ...$callbacks responsible for reporting measurements
* @return ObservableUpDownCounterInterface created instrument
*
Expand Down

0 comments on commit c9d2bb6

Please sign in to comment.