aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/auth.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-08 14:01:04 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-08 14:01:04 +0200
commit27f769e4617cfe17cede765a3eea29b7c9bd430b (patch)
treeecb9b25b9d4168ad2d0d3f1e85d821cc5b288f3c /phpBB/includes/acp/auth.php
parentc5d72c94f13a3e4faf15979eb4a6e920a05bd994 (diff)
downloadforums-27f769e4617cfe17cede765a3eea29b7c9bd430b.tar
forums-27f769e4617cfe17cede765a3eea29b7c9bd430b.tar.gz
forums-27f769e4617cfe17cede765a3eea29b7c9bd430b.tar.bz2
forums-27f769e4617cfe17cede765a3eea29b7c9bd430b.tar.xz
forums-27f769e4617cfe17cede765a3eea29b7c9bd430b.zip
[ticket/10404] Fix codesniffer complaint about anonymous function
PHPBB3-10404
Diffstat (limited to 'phpBB/includes/acp/auth.php')
-rw-r--r--phpBB/includes/acp/auth.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/acp/auth.php b/phpBB/includes/acp/auth.php
index 930f2811cf..905e981cdc 100644
--- a/phpBB/includes/acp/auth.php
+++ b/phpBB/includes/acp/auth.php
@@ -183,7 +183,10 @@ class auth_admin extends \phpbb\auth\auth
}
// Defining the user-function here to save some memory
- $return_acl_fill = function () use ($acl_fill) { return $acl_fill; };
+ $return_acl_fill = function () use ($acl_fill)
+ {
+ return $acl_fill;
+ };
// Actually fill the gaps
if (sizeof($hold_ary))