diff --git a/core/routes.php b/core/routes.php index 76cf03c367..74be880612 100644 --- a/core/routes.php +++ b/core/routes.php @@ -7,7 +7,8 @@ */ // Post installation check -/** @var $this OC_Router */ + +/** @var $this OCP\Route\IRouter */ $this->create('post_setup_check', '/post-setup-check') ->action('OC_Setup', 'postSetupCheck'); diff --git a/settings/routes.php b/settings/routes.php index 6954bd3823..a8bb0d981e 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -6,7 +6,7 @@ * See the COPYING-README file. */ -/** @var $this OC_Router */ +/** @var $this OCP\Route\IRouter */ // Settings pages $this->create('settings_help', '/settings/help')