summaryrefslogtreecommitdiff
path: root/modules_v3/theme_select
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-18 20:15:49 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-18 20:15:49 +0000
commit09e11b590d6568ce9e12d6e5ee883ca8a6a6ba52 (patch)
treeda07584c4bcc488e1eabc6f281c56ee2a3b8134e /modules_v3/theme_select
parent8d96e5ff3349e948f25dd853da73a7c35abe5fbe (diff)
downloadwebtrees-09e11b590d6568ce9e12d6e5ee883ca8a6a6ba52.tar.gz
webtrees-09e11b590d6568ce9e12d6e5ee883ca8a6a6ba52.tar.bz2
webtrees-09e11b590d6568ce9e12d6e5ee883ca8a6a6ba52.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'modules_v3/theme_select')
-rw-r--r--modules_v3/theme_select/module.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules_v3/theme_select/module.php b/modules_v3/theme_select/module.php
index b83825a2d3..ae9634c11c 100644
--- a/modules_v3/theme_select/module.php
+++ b/modules_v3/theme_select/module.php
@@ -36,15 +36,15 @@ class theme_select_WT_Module extends WT_Module implements WT_Module_Block {
}
/** {@inheritdoc} */
- public function getBlock($block_id, $template=true, $cfg=null) {
+ public function getBlock($block_id, $template = true, $cfg = null) {
/** @var \WT\Theme\BaseTheme */
- $id=$this->getName().$block_id;
- $class=$this->getName().'_block';
- $title=$this->getTitle();
- $menu=Theme::theme()->menuThemes();
+ $id = $this->getName() . $block_id;
+ $class = $this->getName() . '_block';
+ $title = $this->getTitle();
+ $menu = Theme::theme()->menuThemes();
if ($menu) {
- $content='<div class="center theme_form">' . $menu . '</div><br>';
+ $content = '<div class="center theme_form">' . $menu . '</div><br>';
if ($template) {
return Theme::theme()->formatBlock($id, $title, $class, $content);