Skip to content

Commit

Permalink
Merge pull request #36341 from nextcloud/fix/app-framework/middleware…
Browse files Browse the repository at this point in the history
…-before-controller-returns-void

fix(app-framework): Specify return type of Middleware::beforeController
  • Loading branch information
ChristophWurst authored Jan 26, 2023
2 parents 3eb73d0 + 6d7339b commit 033b03d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public/AppFramework/Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 033b03d

Please sign in to comment.