Merge pull request #36341 from nextcloud/fix/app-framework/middleware-before-controller-returns-void

fix(app-framework): Specify return type of Middleware::beforeController
This commit is contained in:
Christoph Wurst 2023-01-26 13:18:19 +01:00 committed by GitHub
commit 033b03def0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ abstract class Middleware {
* @param Controller $controller the controller that is being called
* @param string $methodName the name of the method that will be called on
* the controller
* @return void
* @since 6.0.0
*/
public function beforeController($controller, $methodName) {