Completed
Pull Request — master (#284)
by Gino
07:36
created
class/libraries/vendor/xoops/xmf/src/Xmf/Module/Helper/GenericHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * get the module object
72 72
      *
73
-     * @return XoopsModule
73
+     * @return \XoopsModule
74 74
      */
75 75
     public function getModule()
76 76
     {
Please login to merge, or discard this patch.
class/libraries/vendor/xoops/xmf/src/Xmf/Module/Helper/Permission.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Delete all permissions for an item and a specific name or array of names
163 163
      *
164
-     * @param string|string[] $gperm_name   name(s) of the permission to delete
164
+     * @param string $gperm_name   name(s) of the permission to delete
165 165
      * @param int             $gperm_itemid id of the object to check
166 166
      *
167 167
      * @return bool   true if no errors
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      * @param int    $size         size of list
193 193
      * @param bool   $multiple     true to allow multiple selections
194 194
      *
195
-     * @return object XoopsFormSelectGroup
195
+     * @return \XoopsFormSelectGroup XoopsFormSelectGroup
196 196
      */
197 197
     public function getGroupSelectFormForItem(
198 198
         $gperm_name,
Please login to merge, or discard this patch.
htdocs/class/logger/xoopslogger.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * Get a reference to the only instance of this class
84 84
      *
85
-     * @return object XoopsLogger  reference to the only instance
85
+     * @return XoopsLogger XoopsLogger  reference to the only instance
86 86
      */
87 87
     public static function getInstance()
88 88
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @param string $path
263 263
      *
264
-     * @return mixed|string
264
+     * @return string
265 265
      */
266 266
     public function sanitizePath($path)
267 267
     {
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
  * @param       $errFile
421 421
  * @param       $errLine
422 422
  * @param  null $errContext
423
- * @return bool
423
+ * @return boolean|null
424 424
  */
425 425
 function XoopsErrorHandler_HandleError($errNo, $errStr, $errFile, $errLine, $errContext = null)
426 426
 {
Please login to merge, or discard this patch.
htdocs/class/mail/phpmailer/class.pop3.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * Connect to a POP3 server.
201 201
      * @access public
202 202
      * @param string $host
203
-     * @param integer|boolean $port
203
+     * @param integer $port
204 204
      * @param integer $tval
205 205
      * @return boolean
206 206
      */
Please login to merge, or discard this patch.
htdocs/class/model/sync.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param  string $table_link   table of linked object for JOIN; deprecated, for backward compatibility
45 45
      * @param  string $field_link   field of linked object for JOIN; deprecated, for backward compatibility
46 46
      * @param  string $field_object field of current object for JOIN; deprecated, for backward compatibility
47
-     * @return bool   true on success
47
+     * @return null|boolean   true on success
48 48
      */
49 49
     public function cleanOrphan($table_link = '', $field_link = '', $field_object = '')
50 50
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * Synchronizing objects
85 85
      * @deprecated
86 86
      *
87
-     * @return bool true on success
87
+     * @return null|boolean true on success
88 88
      */
89 89
     public function synchronization()
90 90
     {
Please login to merge, or discard this patch.
htdocs/class/smarty/Config_File.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * Get all global or section variable names.
190 190
      *
191 191
      * @param string $file_name config file to get info for
192
-     * @param string $section_name (optional) section to get info for
192
+     * @param string $section (optional) section to get info for
193 193
      * @return array an array of variables names from the specified file/section
194 194
      */
195 195
     function get_var_names($file_name, $section = NULL)
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
     /**
346 346
      * @param array &$container
347 347
      * @param string $var_name
348
-     * @param mixed $var_value
348
+     * @param string $var_value
349 349
      * @param boolean $booleanize determines whether $var_value is converted to
350 350
      *                            to true/false
351 351
      */
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.assemble_plugin_filepath.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,7 @@
 block discarded – undo
8 8
 /**
9 9
  * assemble filepath of requested plugin
10 10
  *
11
- * @param string $type
12
- * @param string $name
11
+ * @param Smarty $smarty
13 12
  * @return string|false
14 13
  */
15 14
 function smarty_core_assemble_plugin_filepath($params, &$smarty)
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.get_php_resource.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,6 @@
 block discarded – undo
9 9
  * Retrieves PHP script resource
10 10
  *
11 11
  * sets $php_resource to the returned resource
12
- * @param string $resource
13
- * @param string $resource_type
14 12
  * @param  $php_resource
15 13
  * @return boolean
16 14
  */
Please login to merge, or discard this patch.
htdocs/class/smarty/internals/core.process_cached_inserts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 /**
9 9
  * Replace cached inserts with the actual results
10 10
  *
11
- * @param string $results
11
+ * @param Smarty $smarty
12 12
  * @return string
13 13
  */
14 14
 function smarty_core_process_cached_inserts($params, &$smarty)
Please login to merge, or discard this patch.