Completed
Branch master (4875a3)
by Pierre-Henry
34:00
created
_protected/framework/Http/Rest/Rest.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     }
69 69
 
70 70
     /**
71
-     * @return string The request body content (usually, should be a JSON string).
71
+     * @return resource The request body content (usually, should be a JSON string).
72 72
      */
73 73
     public function getBody()
74 74
     {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Model/Design.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      * @param int $iHeight
65 65
      * @param bool $bOnlyActive
66 66
      *
67
-     * @return bool|void
67
+     * @return false|null
68 68
      */
69 69
     public function ad($iWidth, $iHeight, $bOnlyActive = true)
70 70
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/Module.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
         $this->sRoutePath = PH7_PATH_APP_CONFIG . 'routes/' . $this->sDefLangRoute . '.xml';
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $sModsDirModFolder
65
+     */
63 66
     public function setPath($sModsDirModFolder)
64 67
     {
65 68
         $this->sModsDirModFolder = $sModsDirModFolder;
@@ -278,7 +281,7 @@  discard block
 block discarded – undo
278 281
      *
279 282
      * @param string $sSwitch The check constant.
280 283
      *
281
-     * @return string Returns the constant if it is correct, otherwise an error message with exit() function.
284
+     * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function.
282 285
      */
283 286
     private function checkParam($sSwitch)
284 287
     {
Please login to merge, or discard this patch.
_protected/framework/Layout/Form/Form.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      *
136 136
      * @param integer $iWaitTime
137 137
      *
138
-     * @return integer
138
+     * @return string
139 139
      */
140 140
     private static function _getTimeText($iWaitTime)
141 141
     {
Please login to merge, or discard this patch.
_protected/framework/Security/Validate/Filter.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -567,7 +567,7 @@
 block discarded – undo
567 567
      *
568 568
      * @param    type
569 569
      *
570
-     * @return    type
570
+     * @return    string
571 571
      */
572 572
     protected function _compact_exploded_words($matches)
573 573
     {
Please login to merge, or discard this patch.
_protected/framework/Translate/Adapter/Gettext/gettext.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
+    /**
85
+     * @param integer $bytes
86
+     */
84 87
     function read($bytes)
85 88
     {
86 89
         return $this->STREAM->read($bytes);
@@ -90,6 +93,7 @@  discard block
 block discarded – undo
90 93
      * Reads an array of Integers from the Stream
91 94
      *
92 95
      * @param int count How many elements should be read
96
+     * @param integer $count
93 97
      *
94 98
      * @return Array of Integers
95 99
      */
@@ -109,6 +113,7 @@  discard block
 block discarded – undo
109 113
      *
110 114
      * @param object Reader the StreamReader object
111 115
      * @param boolean enable_cache Enable or disable caching of strings (default on)
116
+     * @param FileReader|null $Reader
112 117
      */
113 118
     public function __construct($Reader, $enable_cache = true)
114 119
     {
@@ -186,6 +191,7 @@  discard block
 block discarded – undo
186 191
      * @access private
187 192
      *
188 193
      * @param int num Offset number of original string
194
+     * @param integer $num
189 195
      *
190 196
      * @return string Requested string if found, otherwise ''
191 197
      */
@@ -206,6 +212,7 @@  discard block
 block discarded – undo
206 212
      * @access private
207 213
      *
208 214
      * @param int num Offset number of original string
215
+     * @param integer $num
209 216
      *
210 217
      * @return string Requested string if found, otherwise ''
211 218
      */
@@ -299,6 +306,7 @@  discard block
 block discarded – undo
299 306
      * Sanitize plural form expression for use in PHP eval call.
300 307
      *
301 308
      * @access private
309
+     * @param string $expr
302 310
      * @return string sanitized plural form expression
303 311
      */
304 312
     function sanitize_plural_expression($expr)
@@ -407,8 +415,9 @@  discard block
 block discarded – undo
407 415
      * @param string single
408 416
      * @param string plural
409 417
      * @param string number
418
+     * @param string $single
410 419
      *
411
-     * @return translated plural form
420
+     * @return string plural form
412 421
      */
413 422
     function ngettext($single, $plural, $number)
414 423
     {
Please login to merge, or discard this patch.
_install/library/Smarty/plugins/function.html_options.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -211,9 +211,9 @@
 block discarded – undo
211 211
  * @param $key
212 212
  * @param $values
213 213
  * @param $selected
214
- * @param $id
214
+ * @param string|null $id
215 215
  * @param $class
216
- * @param $idx
216
+ * @param integer $idx
217 217
  *
218 218
  * @return string
219 219
  */
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_config_file_compiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @param Smarty_Internal_Template $template
98 98
      *
99
-     * @return bool true if compiling succeeded, false if it failed
99
+     * @return string true if compiling succeeded, false if it failed
100 100
      * @throws \SmartyException
101 101
      */
102 102
     public function compileTemplate(Smarty_Internal_Template $template)
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_internal_configfilelexer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@  discard block
 block discarded – undo
147 147
         $this->configBooleanize = $this->smarty->config_booleanize;
148 148
     }
149 149
 
150
+    /**
151
+     * @param string $input
152
+     */
150 153
     public function replace($input)
151 154
     {
152 155
         return $input;
@@ -163,6 +166,9 @@  discard block
 block discarded – undo
163 166
         return $this->{'yylex' . $this->_yy_state}();
164 167
     }
165 168
 
169
+    /**
170
+     * @param integer $state
171
+     */
166 172
     public function yypushstate($state)
167 173
     {
168 174
         if ($this->yyTraceFILE) {
Please login to merge, or discard this patch.