diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2021-02-18 14:05:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 14:05:54 +0100 |
commit | 5026d2cca10fa65be68367002eff147d7dc71077 (patch) | |
tree | d4d7119b0b8f547aebcc857c5297fc52ccc5a4b3 /lib/private/AppFramework/Routing | |
parent | bbb39cf3deb350738a28b5f5bdf40572f1406897 (diff) | |
parent | eb502c02ff7693bb36318d857985f79e7bac370c (diff) | |
download | nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.tar.gz nextcloud-server-5026d2cca10fa65be68367002eff147d7dc71077.zip |
Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Diffstat (limited to 'lib/private/AppFramework/Routing')
-rw-r--r-- | lib/private/AppFramework/Routing/RouteConfig.php | 2 | ||||
-rw-r--r-- | lib/private/AppFramework/Routing/RouteParser.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/AppFramework/Routing/RouteConfig.php b/lib/private/AppFramework/Routing/RouteConfig.php index c522d3436ca..5aa4db10e22 100644 --- a/lib/private/AppFramework/Routing/RouteConfig.php +++ b/lib/private/AppFramework/Routing/RouteConfig.php @@ -133,7 +133,7 @@ class RouteConfig { if (count($split) !== 2) { throw new \UnexpectedValueException('Invalid route name'); } - list($controller, $action) = $split; + [$controller, $action] = $split; $controllerName = $this->buildControllerName($controller); $actionName = $this->buildActionName($action); diff --git a/lib/private/AppFramework/Routing/RouteParser.php b/lib/private/AppFramework/Routing/RouteParser.php index 8511ff9ee39..b65938d5b63 100644 --- a/lib/private/AppFramework/Routing/RouteParser.php +++ b/lib/private/AppFramework/Routing/RouteParser.php @@ -96,7 +96,7 @@ class RouteParser { if (count($split) !== 2) { throw new \UnexpectedValueException('Invalid route name'); } - list($controller, $action) = $split; + [$controller, $action] = $split; $controllerName = $this->buildControllerName($controller); $actionName = $this->buildActionName($action); |