Skip to content

Commit 4fa88bc

Browse files
chore(App): add minor missing typing
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 4438eac commit 4fa88bc

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/public/AppFramework/App.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
* @since 6.0.0
3232
*/
3333
class App {
34-
/** @var IAppContainer */
35-
private $container;
34+
private IAppContainer $container;
3635

3736
/**
3837
* Returns the app namespace for the given app ID.
@@ -122,7 +121,7 @@ public function getContainer(): IAppContainer {
122121
* @param string $methodName controller method to invoke
123122
* @since 6.0.0
124123
*/
125-
public function dispatch(string $controllerName, string $methodName) {
124+
public function dispatch(string $controllerName, string $methodName): void {
126125
\OC\AppFramework\App::main($controllerName, $methodName, $this->container);
127126
}
128127
}

0 commit comments

Comments
 (0)