We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843493f commit e88fd2eCopy full SHA for e88fd2e
src/Bridges/ApplicationTracy/templates/RoutingPanel.panel.phtml
@@ -87,6 +87,10 @@ use Nette,
87
</table>
88
<?php endif ?>
89
90
- <?php if ($source): ?><p><?php echo $source ?> in <?php echo Tracy\Helpers::editorLink($source->getFileName(), $source->getStartLine()) ?></p><?php endif ?>
+ <?php if ($source): ?>
91
+ <p><?php echo $source instanceof \ReflectionClass ? $source->getName() : $source->getDeclaringClass()->getName() . '::' . $source->getName() . '()' ?> in
92
+ <?php echo Tracy\Helpers::editorLink($source->getFileName(), $source->getStartLine()) ?>
93
+ </p>
94
+ <?php endif ?>
95
</div>
96
0 commit comments