aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Remote/Api/ApiBase.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-10-19 13:50:27 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-12-08 16:37:14 +0100
commit8b01176f60ee85582d467ca9b66aa8fbecd3e54d (patch)
tree668c4672c34d0be0adc0787d71492e1d337ef6ed /lib/private/Remote/Api/ApiBase.php
parent5133a31d3c713e3e3c562e6fcd131ed2738d8798 (diff)
downloadnextcloud-server-8b01176f60ee85582d467ca9b66aa8fbecd3e54d.tar.gz
nextcloud-server-8b01176f60ee85582d467ca9b66aa8fbecd3e54d.zip
add more typehints
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Remote/Api/ApiBase.php')
-rw-r--r--lib/private/Remote/Api/ApiBase.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Remote/Api/ApiBase.php b/lib/private/Remote/Api/ApiBase.php
index 64153a9311f..70292a977f4 100644
--- a/lib/private/Remote/Api/ApiBase.php
+++ b/lib/private/Remote/Api/ApiBase.php
@@ -57,6 +57,7 @@ class ApiBase {
* @param array $query
* @param array $headers
* @return resource|string
+ * @throws \InvalidArgumentException
*/
protected function request($method, $url, array $body = [], array $query = [], array $headers = []) {
$fullUrl = trim($this->instance->getFullUrl(), '/') . '/' . $url;