Completed
Pull Request — master (#2252)
by ྅༻ Ǭɀħ
03:57
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/functions-l10n.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -117,7 +117,6 @@  discard block
 block discarded – undo
117 117
  * @since 1.6
118 118
  *
119 119
  * @param string $pattern Text to translate
120
- * @param string $arg1, $arg2... Optional: sprintf tokens, and translation domain
121 120
  * @return string Translated text
122 121
  */
123 122
 function yourls_s( $pattern ) {
@@ -159,7 +158,6 @@  discard block
 block discarded – undo
159 158
  * @since 1.6
160 159
  *
161 160
  * @param string $pattern Text to translate
162
- * @param string $arg1, $arg2... Optional: sprintf tokens, and translation domain
163 161
  * @return string Translated text
164 162
  */
165 163
 function yourls_se( $pattern ) {
@@ -347,6 +345,7 @@  discard block
 block discarded – undo
347 345
  * @see yourls_n()
348 346
  * @see yourls_x()
349 347
  *
348
+ * @param integer $number
350 349
  */
351 350
 function yourls_nx($single, $plural, $number, $context, $domain = 'default') {
352 351
 	$translations = yourls_get_translations_for_domain( $domain );
@@ -503,7 +502,7 @@  discard block
 block discarded – undo
503 502
  * translated (.mo) file is named based on the locale.
504 503
  *
505 504
  * @since 1.6
506
- * @return bool True on success, false on failure
505
+ * @return boolean|null True on success, false on failure
507 506
  */
508 507
 function yourls_load_default_textdomain() {
509 508
 	$yourls_locale = yourls_get_locale();
@@ -683,7 +682,7 @@  discard block
 block discarded – undo
683 682
  * @since 1.6
684 683
  *
685 684
  * @param string $type Either 'mysql' or 'timestamp'.
686
- * @param int|bool $gmt Optional. Whether to use GMT timezone. Default is false.
685
+ * @param integer $gmt Optional. Whether to use GMT timezone. Default is false.
687 686
  * @return int|string String if $type is 'gmt', int if $type is 'timestamp'.
688 687
  */
689 688
 function yourls_current_time( $type, $gmt = 0 ) {
@@ -1040,7 +1039,7 @@  discard block
 block discarded – undo
1040 1039
  *
1041 1040
  * @param string $domain Unique identifier (the "domain") for retrieving translated strings
1042 1041
  * @param string $path Full path to directory containing MO files.
1043
- * @return mixed Returns nothing if locale undefined, otherwise return bool: true on success, false on failure
1042
+ * @return boolean|null Returns nothing if locale undefined, otherwise return bool: true on success, false on failure
1044 1043
  */
1045 1044
 function yourls_load_custom_textdomain( $domain, $path ) {
1046 1045
 	$locale = yourls_apply_filter( 'load_custom_textdomain', yourls_get_locale(), $domain );
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/MO.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 
106 106
     /**
107 107
      * @param resource $fh
108
-     * @return true
108
+     * @return boolean
109 109
      */
110 110
     public function export_to_file_handle($fh)
111 111
     {
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/PO.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -496,7 +496,7 @@
 block discarded – undo
496 496
     /**
497 497
      * @param     resource $f
498 498
      * @param     string   $action
499
-     * @return boolean
499
+     * @return boolean|string
500 500
      */
501 501
     public static function read_line($f, $action = 'read')
502 502
     {
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/Streams/Reader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         $this->_pos = 0;
26 26
     }
27 27
 
28
+    /**
29
+     * @param string $endian
30
+     */
28 31
     public function setEndian($endian)
29 32
     {
30 33
         $this->endian = $endian;
Please login to merge, or discard this patch.
includes/vendor/pomo/pomo/src/Translations/Translations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
     public $entries = array();
22 22
     public $headers = array();
23 23
 
24
+    /**
25
+     * @param EntryTranslations $entry
26
+     */
24 27
     public function add_entry($entry)
25 28
     {
26 29
         if (is_array($entry)) {
Please login to merge, or discard this patch.