Completed
Pull Request — master (#2252)
by ྅༻ Ǭɀħ
02:49
created
includes/vendor/composer/autoload_static.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         ),
42 42
     );
43 43
 
44
+    /**
45
+     * @return callable
46
+     */
44 47
     public static function getInitializer(ClassLoader $loader)
45 48
     {
46 49
         return \Closure::bind(function () use ($loader) {
Please login to merge, or discard this patch.
includes/vendor/composer/ClassLoader.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -367,6 +367,10 @@
 block discarded – undo
367 367
         return $file;
368 368
     }
369 369
 
370
+    /**
371
+     * @param string $class
372
+     * @param string $ext
373
+     */
370 374
     private function findFileWithExtension($class, $ext)
371 375
     {
372 376
         // PSR-4 lookup
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/MO.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         }
183 183
     }
184 184
 
185
+    /**
186
+     * @param FileReader $reader
187
+     */
185 188
     public function import_from_reader($reader)
186 189
     {
187 190
         $endian_string = $this->get_byteorder($reader->readint32());
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/PO.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      * Builds a string from the entry for inclusion in PO file
241 241
      *
242 242
      * @param  object      &$entry the entry to convert to po string
243
-     * @return string|bool PO-style formatted string for the entry or
243
+     * @return false|string PO-style formatted string for the entry or
244 244
      *                            false if the entry is empty
245 245
      */
246 246
     public static function export_entry(&$entry)
@@ -460,6 +460,9 @@  discard block
 block discarded – undo
460 460
         return $line;
461 461
     }
462 462
 
463
+    /**
464
+     * @param string $po_comment_line
465
+     */
463 466
     public function add_comment_to_entry(&$entry, $po_comment_line)
464 467
     {
465 468
         $first_two = substr($po_comment_line, 0, 2);
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/Streams/FileReader.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,12 +15,18 @@
 block discarded – undo
15 15
  */
16 16
 class FileReader extends Reader
17 17
 {
18
+    /**
19
+     * @param string $filename
20
+     */
18 21
     public function __construct($filename)
19 22
     {
20 23
         parent::__construct();
21 24
         $this->_f = fopen($filename, 'rb');
22 25
     }
23 26
 
27
+    /**
28
+     * @param integer $bytes
29
+     */
24 30
     public function read($bytes)
25 31
     {
26 32
         return fread($this->_f, $bytes);
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/Translations/GettextTranslations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param  integer $nplurals
53 53
      * @param  string  $expression
54
-     * @return integer The right translation index
54
+     * @return string The right translation index
55 55
      */
56 56
     public function make_plural_form_function($nplurals, $expression)
57 57
     {
Please login to merge, or discard this patch.
includes/vendor/rmccue/requests/library/Requests/IDNAEncoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -359,7 +359,7 @@
 block discarded – undo
359 359
 	 * @param int $delta
360 360
 	 * @param int $numpoints
361 361
 	 * @param bool $firsttime
362
-	 * @return int New bias
362
+	 * @return double New bias
363 363
 	 */
364 364
 	protected static function adapt($delta, $numpoints, $firsttime) {
365 365
 #	function adapt(delta,numpoints,firsttime):
Please login to merge, or discard this patch.
includes/vendor/rmccue/requests/library/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
 	 */
@@ -987,6 +987,7 @@  discard block
 block discarded – undo
987 987
 	 * Convert an IRI to a URI (or parts thereof)
988 988
 	 *
989 989
 	 * @param string|bool IRI to convert (or false from {@see get_iri})
990
+	 * @param false|string $string
990 991
 	 * @return string|false URI if IRI is valid, false otherwise.
991 992
 	 */
992 993
 	protected function to_uri($string) {
Please login to merge, or discard this patch.
includes/vendor/rmccue/requests/library/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.