Skip to content

Commit

Permalink
修复 var_export 引用告警错误
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouyl authored Jul 24, 2019
1 parent 4e54f4a commit 8212672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processor/CostTimeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __invoke(array $record)

$cost = 0;
$name = $record['channel'];
$hash = md5(var_export($record, true));
$hash = md5(print_r($record, true));
$current = microtime(true);

if (! isset(self::$points[$name])) {
Expand Down

0 comments on commit 8212672

Please sign in to comment.