Completed
Push — phpsizeshorthand ( c6e971 )
by Andreas
06:25
created
inc/PluginTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @see DokuWiki_PluginInterface::loadHelper()
42
+     * @param string $name
42 43
      */
43 44
     public function loadHelper($name, $msg = true) {
44 45
         $obj = plugin_load('helper', $name);
@@ -86,6 +87,7 @@  discard block
 block discarded – undo
86 87
 
87 88
     /**
88 89
      * @see DokuWiki_PluginInterface::locale_xhtml()
90
+     * @param string $id
89 91
      */
90 92
     public function locale_xhtml($id) {
91 93
         return p_cached_output($this->localFN($id));
Please login to merge, or discard this patch.
inc/template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -424,7 +424,7 @@
 block discarded – undo
424 424
  * @param string      $id   page id
425 425
  * @param string|null $name the name of the link
426 426
  * @param bool        $return
427
- * @return true|string
427
+ * @return string|boolean
428 428
  */
429 429
 function tpl_pagelink($id, $name = null, $return = false) {
430 430
     $out = '<bdi>'.html_wikilink($id, $name).'</bdi>';
Please login to merge, or discard this patch.
inc/common.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
  *
195 195
  * @author Andreas Gohr <[email protected]>
196 196
  *
197
- * @return array with info about current document
197
+ * @return string with info about current document
198 198
  */
199 199
 function pageinfo() {
200 200
     global $ID;
@@ -2045,6 +2045,7 @@  discard block
 block discarded – undo
2045 2045
  * Strips source mapping declarations from given text #601
2046 2046
  *
2047 2047
  * @param string &$text reference to the CSS or JavaScript code to clean
2048
+ * @param string $text
2048 2049
  */
2049 2050
 function stripsourcemaps(&$text){
2050 2051
     $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text);
Please login to merge, or discard this patch.
lib/plugins/extension/helper/extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -824,7 +824,7 @@
 block discarded – undo
824 824
      * @param string $url           url to download
825 825
      * @param string $file          path to file or directory where to save
826 826
      * @param string $defaultName   fallback for name of download
827
-     * @return bool|string          if failed false, otherwise true or the name of the file in the given dir
827
+     * @return false|string          if failed false, otherwise true or the name of the file in the given dir
828 828
      */
829 829
     protected function downloadToFile($url,$file,$defaultName=''){
830 830
         global $conf;
Please login to merge, or discard this patch.