summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-12-16 16:18:35 +0100
committerGitHub <noreply@github.com>2022-12-16 16:18:35 +0100
commitae6fe874eddf09cc2968d45d0215e47baf55712e (patch)
tree2bffd82a0a57fa05f9d308d7ca3b971f87bbcbb0 /lib
parent6737deabbf77fc0b1747ae937f68c4797a600e60 (diff)
parentb6dd1a1d7b5a5eb8c5af4b1b793b06a1725bb53a (diff)
downloadnextcloud-server-ae6fe874eddf09cc2968d45d0215e47baf55712e.tar.gz
nextcloud-server-ae6fe874eddf09cc2968d45d0215e47baf55712e.zip
Merge pull request #35780 from nextcloud/fix/http-dispatcher-double-parameter-cast
Fix missing cast of double controller parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/private/AppFramework/Http/Dispatcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/AppFramework/Http/Dispatcher.php b/lib/private/AppFramework/Http/Dispatcher.php
index c1a203a7165..aaaf2ba6560 100644
--- a/lib/private/AppFramework/Http/Dispatcher.php
+++ b/lib/private/AppFramework/Http/Dispatcher.php
@@ -194,7 +194,7 @@ class Dispatcher {
$arguments = [];
// valid types that will be casted
- $types = ['int', 'integer', 'bool', 'boolean', 'float'];
+ $types = ['int', 'integer', 'bool', 'boolean', 'float', 'double'];
foreach ($this->reflector->getParameters() as $param => $default) {