summaryrefslogtreecommitdiff
path: root/classes/counters.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/counters.php')
-rw-r--r--classes/counters.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/counters.php b/classes/counters.php
index 378abac89..fcf28f938 100644
--- a/classes/counters.php
+++ b/classes/counters.php
@@ -145,7 +145,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_feeds(array $feed_ids = null): array {
- $scope = Tracer::start(__FUNCTION__);
+ $scope = Tracer::start(__METHOD__);
$ret = [];
@@ -221,7 +221,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_global(): array {
- $scope = Tracer::start(__FUNCTION__);
+ $scope = Tracer::start(__METHOD__);
$ret = [
[
@@ -248,7 +248,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
private static function get_virt(): array {
- $scope = Tracer::start(__FUNCTION__);
+ $scope = Tracer::start(__METHOD__);
$ret = [];
@@ -304,7 +304,7 @@ class Counters {
* @return array<int, array<string, int|string>>
*/
static function get_labels(array $label_ids = null): array {
- $scope = Tracer::start(__FUNCTION__);
+ $scope = Tracer::start(__METHOD__);
$ret = [];