summaryrefslogtreecommitdiffstats
path: root/lib/public/IURLGenerator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IURLGenerator.php')
-rw-r--r--lib/public/IURLGenerator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/IURLGenerator.php b/lib/public/IURLGenerator.php
index ac680654b50..52fde15d037 100644
--- a/lib/public/IURLGenerator.php
+++ b/lib/public/IURLGenerator.php
@@ -42,7 +42,7 @@ interface IURLGenerator {
* @return string the url
* @since 6.0.0
*/
- public function linkToRoute(string $routeName, array $arguments = array()): string;
+ public function linkToRoute(string $routeName, array $arguments = []): string;
/**
* Returns the absolute URL for a route
@@ -51,7 +51,7 @@ interface IURLGenerator {
* @return string the absolute url
* @since 8.0.0
*/
- public function linkToRouteAbsolute(string $routeName, array $arguments = array()): string;
+ public function linkToRouteAbsolute(string $routeName, array $arguments = []): string;
/**
* @param string $routeName
@@ -70,7 +70,7 @@ interface IURLGenerator {
* @return string the url
* @since 6.0.0
*/
- public function linkTo(string $appName, string $file, array $args = array()): string;
+ public function linkTo(string $appName, string $file, array $args = []): string;
/**
* Returns the link to an image, like linkTo but only with prepending img/