diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-12-16 16:18:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 16:18:35 +0100 |
commit | ae6fe874eddf09cc2968d45d0215e47baf55712e (patch) | |
tree | 2bffd82a0a57fa05f9d308d7ca3b971f87bbcbb0 /lib | |
parent | 6737deabbf77fc0b1747ae937f68c4797a600e60 (diff) | |
parent | b6dd1a1d7b5a5eb8c5af4b1b793b06a1725bb53a (diff) | |
download | nextcloud-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.php | 2 |
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) { |