aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/controller/resolver.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-30 00:08:02 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-04-01 21:33:14 +0200
commit3f4cf728724528e2c37a3bad3f9c705c71225b26 (patch)
treec7abd522abedbf1ac891cef72616b433fce0a502 /phpBB/phpbb/controller/resolver.php
parentada90d3b0a10249d0bff73a71f81da9b3627dd75 (diff)
downloadforums-3f4cf728724528e2c37a3bad3f9c705c71225b26.tar
forums-3f4cf728724528e2c37a3bad3f9c705c71225b26.tar.gz
forums-3f4cf728724528e2c37a3bad3f9c705c71225b26.tar.bz2
forums-3f4cf728724528e2c37a3bad3f9c705c71225b26.tar.xz
forums-3f4cf728724528e2c37a3bad3f9c705c71225b26.zip
[ticket/13502] Fix coding style
PHPBB3-13502
Diffstat (limited to 'phpBB/phpbb/controller/resolver.php')
-rw-r--r--phpBB/phpbb/controller/resolver.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/phpbb/controller/resolver.php b/phpBB/phpbb/controller/resolver.php
index 233e2e94a4..f8dffc12de 100644
--- a/phpBB/phpbb/controller/resolver.php
+++ b/phpBB/phpbb/controller/resolver.php
@@ -131,11 +131,14 @@ class resolver implements ControllerResolverInterface
{
list($object, $method) = $controller;
$mirror = new \ReflectionMethod($object, $method);
- } else if (is_object($controller) && !$controller instanceof \Closure)
+ }
+ else if (is_object($controller) && !$controller instanceof \Closure)
{
$mirror = new \ReflectionObject($controller);
$mirror = $mirror->getMethod('__invoke');
- } else {
+ }
+ else
+ {
$mirror = new \ReflectionFunction($controller);
}