Completed
Branch master (a5e97c)
by mains
02:22
created
php/Requests/CreateUser.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
     {
33 33
         return $this->random_str(64, 'abcdef0123456789');
34 34
     }
35
+
36
+    /**
37
+     * @param integer $length
38
+     */
35 39
     function random_str($length, $keyspace = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
36 40
     {
37 41
         $str = '';
Please login to merge, or discard this patch.
php/Requests/libary/Requests.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -226,6 +226,7 @@  discard block
 block discarded – undo
226 226
 	 */
227 227
 	/**
228 228
 	 * Send a GET request
229
+	 * @param string $url
229 230
 	 */
230 231
 	public static function get($url, $headers = array(), $options = array()) {
231 232
 		return self::request($url, $headers, null, self::GET, $options);
@@ -263,12 +264,14 @@  discard block
 block discarded – undo
263 264
 	 */
264 265
 	/**
265 266
 	 * Send a POST request
267
+	 * @param string $url
266 268
 	 */
267 269
 	public static function post($url, $headers = array(), $data = array(), $options = array()) {
268 270
 		return self::request($url, $headers, $data, self::POST, $options);
269 271
 	}
270 272
 	/**
271 273
 	 * Send a PUT request
274
+	 * @param string $url
272 275
 	 */
273 276
 	public static function put($url, $headers = array(), $data = array(), $options = array()) {
274 277
 		return self::request($url, $headers, $data, self::PUT, $options);
Please login to merge, or discard this patch.
php/Requests/libary/Requests/IDNAEncoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
 	 * @param int $delta
358 358
 	 * @param int $numpoints
359 359
 	 * @param bool $firsttime
360
-	 * @return int New bias
360
+	 * @return double New bias
361 361
 	 */
362 362
 	protected static function adapt($delta, $numpoints, $firsttime) {
363 363
 #	function adapt(delta,numpoints,firsttime):
Please login to merge, or discard this patch.
php/Requests/libary/Requests/IRI.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
 	 *
250 250
 	 * Returns false if $base is not absolute, otherwise an IRI.
251 251
 	 *
252
-	 * @param IRI|string $base (Absolute) Base IRI
252
+	 * @param string $base (Absolute) Base IRI
253 253
 	 * @param IRI|string $relative Relative IRI
254 254
 	 * @return IRI|false
255 255
 	 */
@@ -984,6 +984,7 @@  discard block
 block discarded – undo
984 984
 	 * Convert an IRI to a URI (or parts thereof)
985 985
 	 *
986 986
 	 * @param string|bool IRI to convert (or false from {@see get_iri})
987
+	 * @param false|string $string
987 988
 	 * @return string|false URI if IRI is valid, false otherwise.
988 989
 	 */
989 990
 	protected function to_uri($string) {
Please login to merge, or discard this patch.
php/Requests/libary/Requests/Session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 	 *
233 233
 	 * @param array $request Request data (same form as {@see request_multiple})
234 234
 	 * @param boolean $merge_options Should we merge options as well?
235
-	 * @return array Request data
235
+	 * @return string Request data
236 236
 	 */
237 237
 	protected function merge_request($request, $merge_options = true) {
238 238
 		if ($this->url !== null) {
Please login to merge, or discard this patch.
php/Requests/SendJodel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
         return $this->ancestor;
30 30
     }
31 31
     /**
32
-     * @param Location $location
33 32
      */
34 33
     public function setAncestor($ancestor)
35 34
     {
Please login to merge, or discard this patch.