summaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-29 12:17:47 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-12 17:22:32 +0100
commitb6da8c527998d44264d3486f2d34e34630a97bee (patch)
treed215237234fb0668bfe58b0f43fa088a31eabbeb /lib/private/NavigationManager.php
parent96480af159f57fd670cd12056e7a13ec76ac6d36 (diff)
downloadnextcloud-server-b6da8c527998d44264d3486f2d34e34630a97bee.tar.gz
nextcloud-server-b6da8c527998d44264d3486f2d34e34630a97bee.zip
Add getAll to public INavigationManager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r--lib/private/NavigationManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 36bb9b5ee19..8d62ebc8ed8 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -108,7 +108,7 @@ class NavigationManager implements INavigationManager {
* @param string $type
* @return array an array of the added entries
*/
- public function getAll($type = 'link') {
+ public function getAll(string $type = 'link'): array {
$this->init();
foreach ($this->closureEntries as $c) {
$this->add($c());