Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -68,7 +68,7 @@ class ControllerResolver extends BaseControllerResolver implements ControllerRes
|
|||
return $controller;
|
||||
}
|
||||
elseif (method_exists($controller, '__invoke')) {
|
||||
return new $controller;
|
||||
return new $controller();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue