Completed
Push — master ( a493ef...6d5aa5 )
by Andreas
06:54 queued 03:50
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/Form/Form.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@
 block discarded – undo
286 286
      * Adds a label referencing another input element, allows HTML for content
287 287
      *
288 288
      * @param string $content
289
-     * @param string|Element $for
289
+     * @param string $for
290 290
      * @param int $pos
291 291
      * @return Element
292 292
      */
Please login to merge, or discard this patch.
inc/confutils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 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
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
  * @param string $file
245 245
  * @param bool $lower
246 246
  *
247
- * @return array
247
+ * @return string
248 248
  */
249 249
 function confToHash($file,$lower=false) {
250 250
     $conf = array();
Please login to merge, or discard this patch.
inc/DifferenceEngine.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -942,6 +942,9 @@  discard block
 block discarded – undo
942 942
         $this->_tag = '';
943 943
     }
944 944
 
945
+    /**
946
+     * @param string $new_tag
947
+     */
945 948
     function _flushGroup($new_tag) {
946 949
         if ($this->_group !== '') {
947 950
             if ($this->_tag == 'mark')
@@ -1364,8 +1367,8 @@  discard block
 block discarded – undo
1364 1367
     /**
1365 1368
      * @access private
1366 1369
      *
1367
-     * @param array $edits1
1368
-     * @param array $edits2
1370
+     * @param _DiffOp[] $edits1
1371
+     * @param _DiffOp[] $edits2
1369 1372
      *
1370 1373
      * @return array
1371 1374
      */
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.
inc/Extension/PluginTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @see PluginInterface::getLang()
88
+     * @param string $id
88 89
      */
89 90
     public function getLang($id)
90 91
     {
Please login to merge, or discard this patch.
inc/Cache/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $this->_event;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $event
60
+     */
58 61
     public function setEvent($event)
59 62
     {
60 63
         $this->_event = $event;
Please login to merge, or discard this patch.
inc/Extension/Event.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,6 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * advise all registered AFTER handlers of this event
82 82
      *
83
-     * @param bool $enablePreventDefault
84 83
      * @see advise_before() for details
85 84
      */
86 85
     public function advise_after()
@@ -190,7 +189,7 @@  discard block
 block discarded – undo
190 189
      * @param callable $action (optional, default=NULL) default action, a php callback function
191 190
      * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action
192 191
      *
193
-     * @return mixed                        the event results value after all event processing is complete
192
+     * @return boolean                        the event results value after all event processing is complete
194 193
      *                                      by default this is the return value of the default action however
195 194
      *                                      it can be set or modified by event handler hooks
196 195
      */
Please login to merge, or discard this patch.
inc/Debug/PropertyDeprecationHelper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *   call it in the constructor.
48 48
      *
49 49
      * @param string $property The name of the property.
50
-     * @param null $class name of the class defining the property
50
+     * @param string $class name of the class defining the property
51 51
      * @see DebugHelper::dbgDeprecatedProperty
52 52
      */
53 53
     protected function deprecatePublicProperty(
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * Like property_exists but also check for non-visible private properties and returns which
100 100
      * class in the inheritance chain declared the property.
101 101
      * @param string $property
102
-     * @return string|bool Best guess for the class in which the property is defined.
102
+     * @return string|false Best guess for the class in which the property is defined.
103 103
      */
104 104
     private function deprecationHelperGetPropertyOwner($property)
105 105
     {
Please login to merge, or discard this patch.