We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4438eac commit 4fa88bcCopy full SHA for 4fa88bc
1 file changed
lib/public/AppFramework/App.php
@@ -31,8 +31,7 @@
31
* @since 6.0.0
32
*/
33
class App {
34
- /** @var IAppContainer */
35
- private $container;
+ private IAppContainer $container;
36
37
/**
38
* Returns the app namespace for the given app ID.
@@ -122,7 +121,7 @@ public function getContainer(): IAppContainer {
122
121
* @param string $methodName controller method to invoke
123
124
125
- public function dispatch(string $controllerName, string $methodName) {
+ public function dispatch(string $controllerName, string $methodName): void {
126
\OC\AppFramework\App::main($controllerName, $methodName, $this->container);
127
}
128
0 commit comments