1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-15 06:06:32 +02:00

[ticket/10404] Fix codesniffer complaint about anonymous function

PHPBB3-10404
This commit is contained in:
Marc Alexander
2014-08-08 14:01:04 +02:00
parent c5d72c94f1
commit 27f769e461

@ -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))