summaryrefslogtreecommitdiff
path: root/classes/counters.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-09 22:15:16 +0300
committerAndrew Dolgov <[email protected]>2023-04-09 22:15:16 +0300
commite18295a3644a92280384bdb2a68e0ac436fea376 (patch)
tree5f45cba21f3170bb74a38f12e80947d875827090 /classes/counters.php
parentd68c736e4727bbb5b5ee83adcb08ac9fc23b58ac (diff)
more tracing
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 = [];