summaryrefslogtreecommitdiff
path: root/app/Module.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-05-30 18:18:55 +0100
committerGreg Roach <fisharebest@gmail.com>2015-05-30 18:47:31 +0100
commitffd703ea1e658c7dcb5e5f1f9ef137a420f2d167 (patch)
tree7c94111f6f092b4360af16efa0bb720f1d6ea9ad /app/Module.php
parentaa318aa388bfe05e30ccd9bce62cde2dba3f43be (diff)
downloadwebtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.gz
webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.tar.bz2
webtrees-ffd703ea1e658c7dcb5e5f1f9ef137a420f2d167.zip
PHP-CS-FIXER, PSR-2 (mostly!)
Diffstat (limited to 'app/Module.php')
-rw-r--r--app/Module.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Module.php b/app/Module.php
index aa0c0473f5..61e794c3e5 100644
--- a/app/Module.php
+++ b/app/Module.php
@@ -93,7 +93,7 @@ class Module {
// The order of menus/sidebars/tabs is defined in the database. Others are sorted by name.
if ($component !== 'menu' && $component !== 'sidebar' && $component !== 'tab') {
- uasort($array, function(AbstractModule $x, AbstractModule $y) {
+ uasort($array, function (AbstractModule $x, AbstractModule $y) {
return I18N::strcasecmp($x->getTitle(), $y->getTitle());
});
}
@@ -131,7 +131,7 @@ class Module {
// The order of menus/sidebars/tabs is defined in the database. Others are sorted by name.
if ($component !== 'menu' && $component !== 'sidebar' && $component !== 'tab') {
- uasort($array, function(AbstractModule $x, AbstractModule $y) {
+ uasort($array, function (AbstractModule $x, AbstractModule $y) {
return I18N::strcasecmp($x->getTitle(), $y->getTitle());
});
}
@@ -314,7 +314,7 @@ class Module {
}
}
- uasort($modules, function(AbstractModule $x, AbstractModule $y) {
+ uasort($modules, function (AbstractModule $x, AbstractModule $y) {
return I18N::strcasecmp($x->getTitle(), $y->getTitle());
});