Skip to content

Commit

Permalink
Format code (#5139)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Oct 13, 2022
1 parent b434148 commit 0436f2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Aspect/DbAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint)
}

$arguments = $proceedingJoinPoint->arguments['keys'];
$span = $this->startSpan('Db' . '::' . $arguments['name']);
$span = $this->startSpan('Db::' . $arguments['name']);
$span->setTag($this->spanTagManager->get('db', 'db.query'), json_encode($arguments['arguments']));
try {
$result = $proceedingJoinPoint->process();
Expand Down
2 changes: 1 addition & 1 deletion src/Aspect/RedisAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint)
}

$arguments = $proceedingJoinPoint->arguments['keys'];
$span = $this->startSpan('Redis' . '::' . $arguments['name']);
$span = $this->startSpan('Redis::' . $arguments['name']);
$span->setTag($this->spanTagManager->get('redis', 'arguments'), json_encode($arguments['arguments']));
try {
$result = $proceedingJoinPoint->process();
Expand Down

0 comments on commit 0436f2b

Please sign in to comment.