Skip to content

Commit

Permalink
Merge pull request #21713 from nextcloud/td/deprecate/register_rotues
Browse files Browse the repository at this point in the history
Deprecate registerRoutes
  • Loading branch information
rullzer authored Jul 6, 2020
2 parents 08bfd63 + 37b2121 commit d8bd6cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/public/AppFramework/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ public function getContainer(): IAppContainer {
* @param array $routes
* @since 6.0.0
* @suppress PhanAccessMethodInternal
* @deprecated 20.0.0 Just return an array from your routes.php
*/
public function registerRoutes(IRouter $router, array $routes) {
$routeConfig = new RouteConfig($this->container, $router, $routes);
Expand Down

0 comments on commit d8bd6cf

Please sign in to comment.