Completed
Push — localizablejslang ( 19e065...e725e2 )
by Gerrit
04:33
created
bin/gittool.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@
 block discarded – undo
292 292
      * Returns the repository for the given extension
293 293
      *
294 294
      * @param $extension
295
-     * @return false|string
295
+     * @return string
296 296
      */
297 297
     private function getSourceRepo($extension) {
298 298
         /** @var helper_plugin_extension_extension $ext */
Please login to merge, or discard this patch.
inc/common.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1935,6 +1935,7 @@
 block discarded – undo
1935 1935
  * Strips source mapping declarations from given text #601
1936 1936
  *
1937 1937
  * @param string &$text reference to the CSS or JavaScript code to clean
1938
+ * @param string $text
1938 1939
  */
1939 1940
 function stripsourcemaps(&$text){
1940 1941
     $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text);
Please login to merge, or discard this patch.
inc/confutils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
  *
24 24
  * @param string $file file name
25 25
  * @param bool   $knownonly
26
- * @return array with extension, mimetype and if it should be downloaded
26
+ * @return string with extension, mimetype and if it should be downloaded
27 27
  */
28 28
 function mimetype($file, $knownonly=true){
29 29
     $mtypes = getMimeTypes();     // known mimetypes
Please login to merge, or discard this patch.
inc/events.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
  * @param  callback $action             (optional, default=NULL) default action, a php callback function
229 229
  * @param  bool     $canPreventDefault  (optional, default=true) can hooks prevent the default action
230 230
  *
231
- * @return mixed                        the event results value after all event processing is complete
231
+ * @return boolean                        the event results value after all event processing is complete
232 232
  *                                      by default this is the return value of the default action however
233 233
  *                                      it can be set or modified by event handler hooks
234 234
  */
Please login to merge, or discard this patch.
inc/form.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -456,6 +456,7 @@  discard block
 block discarded – undo
456 456
  *
457 457
  * @see     form_makeField
458 458
  * @author  Tom N Harris <[email protected]>
459
+ * @param string $name
459 460
  */
460 461
 function form_makeTextField($name, $value='', $label=null, $id='', $class='', $attrs=array()) {
461 462
     if (is_null($label)) $label = $name;
@@ -472,6 +473,7 @@  discard block
 block discarded – undo
472 473
  *
473 474
  * @see     form_makeField
474 475
  * @author  Tom N Harris <[email protected]>
476
+ * @param string $name
475 477
  */
476 478
 function form_makePasswordField($name, $label=null, $id='', $class='', $attrs=array()) {
477 479
     if (is_null($label)) $label = $name;
@@ -487,6 +489,7 @@  discard block
 block discarded – undo
487 489
  *
488 490
  * @see     form_makeField
489 491
  * @author  Michael Klier <[email protected]>
492
+ * @param string $name
490 493
  */
491 494
 function form_makeFileField($name, $label=null, $id='', $class='', $attrs=array()) {
492 495
     if (is_null($label)) $label = $name;
@@ -504,6 +507,7 @@  discard block
 block discarded – undo
504 507
  *
505 508
  * @see     form_makeFieldRight
506 509
  * @author  Tom N Harris <[email protected]>
510
+ * @param string $name
507 511
  */
508 512
 function form_makeCheckboxField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
509 513
     if (is_null($label)) $label = $name;
@@ -520,6 +524,7 @@  discard block
 block discarded – undo
520 524
  *
521 525
  * @see     form_makeFieldRight
522 526
  * @author  Tom N Harris <[email protected]>
527
+ * @param string $name
523 528
  */
524 529
 function form_makeRadioField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
525 530
     if (is_null($label)) $label = $name;
Please login to merge, or discard this patch.
inc/Form/Form.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Sets a hidden field
60 60
      *
61
-     * @param $name
62
-     * @param $value
61
+     * @param string $name
62
+     * @param string $value
63 63
      * @return $this
64 64
      */
65 65
     public function setHiddenField($name, $value) {
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Adds a textarea field
226 226
      *
227
-     * @param $name
227
+     * @param string $name
228 228
      * @param $label
229 229
      * @param int $pos
230 230
      * @return TextareaElement
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      * Adds a label referencing another input element, allows HTML for content
274 274
      *
275 275
      * @param string $content
276
-     * @param string|Element $for
276
+     * @param string $for
277 277
      * @param int $pos
278 278
      * @return Element
279 279
      */
Please login to merge, or discard this patch.
inc/Form/InputElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Returns the label element if there's one set
38 38
      *
39
-     * @return LabelElement|null
39
+     * @return LabelElement
40 40
      */
41 41
     public function getLabel() {
42 42
         return $this->label;
Please login to merge, or discard this patch.
inc/Form/TextareaElement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * This is the preferred way of setting the element's value
28 28
      *
29 29
      * @param null|string $value
30
-     * @return string|$this
30
+     * @return string
31 31
      */
32 32
     public function val($value = null) {
33 33
         if($value !== null) {
Please login to merge, or discard this patch.
inc/Form/ValueElement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * @param string $type
23
-     * @param array|string $value
23
+     * @param string $value
24 24
      * @param array $attributes
25 25
      */
26 26
     public function __construct($type, $value, $attributes = array()) {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * Get or set the element's value
33 33
      *
34 34
      * @param null|string $value
35
-     * @return string|$this
35
+     * @return string
36 36
      */
37 37
     public function val($value = null) {
38 38
         if($value !== null) {
Please login to merge, or discard this patch.