diff --git a/CHANGELOG.md b/CHANGELOG.md index 09a11f2..a18dbbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## [Unreleased] +## Fixed +* fix #269: use php7 syntax + ## 3.10.0 ### Added * add compatibility with NC28 diff --git a/lib/Service/AppRepository.php b/lib/Service/AppRepository.php index ae865ce..00cde74 100644 --- a/lib/Service/AppRepository.php +++ b/lib/Service/AppRepository.php @@ -35,7 +35,7 @@ class AppRepository public function __construct( \OC_App $ocApp, - protected INavigationManager $navigationManager, + INavigationManager $navigationManager, IFactory $l10nFactory, ConfigProxy $config, CategoryRepository $categoryRepository @@ -43,6 +43,7 @@ class AppRepository $this->ocApp = $ocApp; $this->l10nFactory = $l10nFactory; $this->config = $config; + $this->navigationManager = $navigationManager; $this->categoryRepository = $categoryRepository; }