aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-01-14 20:23:52 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-01-14 20:23:52 +0100
commit34d6a1596caa50edefc084e01a1f6b6bd757937a (patch)
tree2271a57bc5614837fff1c95eed7e7a263a2e663f
parent455ad005a01d3eeeb4d6d655f702d4c02ee811c8 (diff)
parent04ae8d2ea070b5e728f62030d3e3f6ecaf8f2e85 (diff)
downloadnextcloud-server-34d6a1596caa50edefc084e01a1f6b6bd757937a.tar.gz
nextcloud-server-34d6a1596caa50edefc084e01a1f6b6bd757937a.zip
Merge pull request #13367 from owncloud/type-hint-server-method-from-request
Add PHPDoc for magic property 'server'
-rw-r--r--lib/public/irequest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index d77a9bc887a..a2b89e09f52 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -51,8 +51,10 @@ namespace OCP;
* - When accessing ->patch and the Content-Type is either application/json
* or application/x-www-form-urlencoded (most cases) it will act like ->get
* and ->post and return an array. Otherwise the raw data will be returned.
+ *
+ * @property-read string[] $server
+ *
*/
-
interface IRequest {
/**