Skip to content

Commit 240c7b0

Browse files
committed
improved the method tree page
1 parent 2afcdb8 commit 240c7b0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
There are next changes:
66

7+
## 1.2.15
8+
9+
There are next changes:
10+
11+
- improved the method tree page
12+
713
## 1.2.14
814

915
There are next changes:

src/Badoo/LiveProfilerUI/Pages/ProfileMethodTreePage.php

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ protected function initMethodId()
8181
$this->data['method_id'] = isset($this->data['method_id']) ? (int)$this->data['method_id'] : 0;
8282

8383
if (!empty($this->data['method_name']) && !$this->data['method_id']) {
84+
$this->data['method_name'] = ltrim($this->data['method_name'], '\\');
8485
$methods = $this->Method->findByName($this->data['method_name'], true);
8586
if (!empty($methods)) {
8687
$this->data['method_id'] = array_keys($methods)[0];

0 commit comments

Comments
 (0)