Merge pull request #13367 from owncloud/type-hint-server-method-from-request

Add PHPDoc for magic property 'server'
remotes/origin/fix-10825
Morris Jobke 10 years ago
commit 34d6a1596c
  1. 4
      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 {
/**

Loading…
Cancel
Save