apply code style rules

This commit is contained in:
Daniel Seifert 2022-08-03 09:17:43 +02:00
parent f097a58691
commit 0d4662edf5
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
6 changed files with 72 additions and 69 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.php_cs.cache

View File

@ -98,17 +98,17 @@ class SmartyCollector extends DataCollector implements Renderable
$widget = $this->isHtmlVarDumperUsed()
? "PhpDebugBar.Widgets.HtmlVariableListWidget"
: "PhpDebugBar.Widgets.VariableListWidget";
return array(
"smarty" => array(
return [
"smarty" => [
"icon" => "tags",
"widget" => $widget,
"map" => "smarty.vars",
"default" => "{}"
),
"smarty:badge" => array(
"default" => "{}",
],
"smarty:badge" => [
"map" => "smarty.count",
"default" => 0
)
);
"default" => 0,
],
];
}
}

View File

@ -17,5 +17,7 @@ namespace D3\DebugBar\Modules\Core {
use OxidEsales\Eshop\Core\ShopControl;
class ShopControl_DebugBar_parent extends ShopControl{}
class ShopControl_DebugBar_parent extends ShopControl
{
}
}

View File

@ -37,7 +37,7 @@ $aModule = [
'url' => 'https://www.oxidmodule.com/',
'controllers' => [],
'extend' => [
ShopControl::class => ShopControl_DebugBar::class
ShopControl::class => ShopControl_DebugBar::class,
],
'events' => [],
'templates' => [],