Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit 0ab62ef

Browse files
committed
Update DebuggerConfigurator.php - rename function show, hide debug panel
1 parent 7120f94 commit 0ab62ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ggrachdev.debugbar/classes/general/BitrixDebugger/Configurator/DebuggerConfigurator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getShowModes(): array {
4444
return $this->showModes;
4545
}
4646

47-
public function notShowDebugInPanel() {
47+
public function notShowDebugPanel() {
4848
$nowModes = $this->getShowModes();
4949
if (\in_array('debug_bar', $nowModes)) {
5050
unset($nowModes[\array_search('debug_bar', $nowModes)]);
@@ -62,7 +62,7 @@ public function notShowDebugInCode() {
6262
return $this;
6363
}
6464

65-
public function showDebugInPanel() {
65+
public function showDebugPanel() {
6666
$nowModes = $this->getShowModes();
6767
$nowModes[] = 'debug_bar';
6868
$this->setShowModes(\array_unique($nowModes));

0 commit comments

Comments
 (0)