Passed
Push — scrutinizer-code-quality ( 09f5a1...c4c5fb )
by Adam
56:05 queued 14:08
created
include/SugarFields/Fields/Base/SugarFieldBase.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -114,11 +114,17 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
 
117
+    /**
118
+     * @return string
119
+     */
117 120
     public function unformatField($formattedField, $vardef){
118 121
         // The base field doesn't do any formatting, so override it in subclasses for more specific actions
119 122
         return $formattedField;
120 123
     }
121 124
 
125
+    /**
126
+     * @param string $view
127
+     */
122 128
     function getSmartyView($parentFieldArray, $vardef, $displayParams, $tabindex = -1, $view){
123 129
     	$this->setup($parentFieldArray, $vardef, $displayParams, $tabindex);
124 130
 
@@ -376,6 +382,9 @@  discard block
 block discarded – undo
376 382
 
377 383
     }
378 384
 
385
+    /**
386
+     * @param string $fieldType
387
+     */
379 388
     protected function getAccessKey($vardef, $fieldType = null, $module = null) {
380 389
         global $app_strings;
381 390
 
Please login to merge, or discard this patch.
include/Pear/XML_HTMLSax3/HTMLSax3/Decorators.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -112,6 +112,8 @@  discard block
 block discarded – undo
112 112
     * @param object handler object being decorated
113 113
     * @param string original open handler method
114 114
     * @param string original close handler method
115
+    * @param string $orig_open_method
116
+    * @param string $orig_close_method
115 117
     * @access protected
116 118
     */
117 119
     function __construct(&$orig_obj, $orig_open_method, $orig_close_method) {
@@ -162,6 +164,7 @@  discard block
 block discarded – undo
162 164
     * Constructs XML_HTMLSax3_LineFeed
163 165
     * @param object handler object being decorated
164 166
     * @param string original handler method
167
+    * @param string $orig_method
165 168
     * @access protected
166 169
     */
167 170
     function XML_HTMLSax3_LineFeed(&$orig_obj, $orig_method) {
@@ -204,6 +207,7 @@  discard block
 block discarded – undo
204 207
     * Constructs XML_HTMLSax3_Tab
205 208
     * @param object handler object being decorated
206 209
     * @param string original handler method
210
+    * @param string $orig_method
207 211
     * @access protected
208 212
     */
209 213
     function __construct(&$orig_obj, $orig_method) {
@@ -247,6 +251,7 @@  discard block
 block discarded – undo
247 251
     * Constructs XML_HTMLSax3_Entities_Parsed
248 252
     * @param object handler object being decorated
249 253
     * @param string original handler method
254
+    * @param string $orig_method
250 255
     * @access protected
251 256
     */
252 257
     function __construct(&$orig_obj, $orig_method) {
@@ -271,6 +276,10 @@  discard block
 block discarded – undo
271 276
 * Compatibility with older PHP versions
272 277
 */
273 278
 if (version_compare(phpversion(), '4.3', '<') && !function_exists('html_entity_decode') ) {
279
+
280
+    /**
281
+     * @param integer $style
282
+     */
274 283
     function html_entity_decode($str, $style=ENT_NOQUOTES) {
275 284
         return strtr($str,
276 285
             array_flip(get_html_translation_table(HTML_ENTITIES,$style)));
@@ -299,6 +308,7 @@  discard block
 block discarded – undo
299 308
     * Constructs XML_HTMLSax3_Entities_Unparsed
300 309
     * @param object handler object being decorated
301 310
     * @param string original handler method
311
+    * @param string $orig_method
302 312
     * @access protected
303 313
     */
304 314
     function __construct(&$orig_obj, $orig_method) {
@@ -342,6 +352,7 @@  discard block
 block discarded – undo
342 352
     * Constructs XML_HTMLSax3_Entities_Unparsed
343 353
     * @param object handler object being decorated
344 354
     * @param string original handler method
355
+    * @param string $orig_method
345 356
     * @access protected
346 357
     */
347 358
     function __construct(&$orig_obj, $orig_method) {
Please login to merge, or discard this patch.
include/Popups/PopupSmarty.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -123,6 +123,7 @@
 block discarded – undo
123 123
      * @param file file Template file to use
124 124
      * @param data array from ListViewData
125 125
      * @param html_var string the corresponding html var in xtpl per row
126
+     * @param string $htmlVar
126 127
      *
127 128
      */
128 129
 	function process($file, $data, $htmlVar) {
Please login to merge, or discard this patch.
modules/ModuleBuilder/MB/MBLanguage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
 			$this->generateAppStrings();
68 68
 		}
69 69
 
70
+		/**
71
+		 * @param string $file
72
+		 */
70 73
 		function loadStrings($file)
71 74
         {
72 75
             $module = strtoupper($this->name);
@@ -90,6 +93,9 @@  discard block
 block discarded – undo
90 93
 			}
91 94
 		}
92 95
 
96
+	    /**
97
+	     * @param string $file
98
+	     */
93 99
 	    function loadAppListStrings($file){
94 100
             if(!file_exists($file))return;
95 101
 			//we may not need this when loading in the app strings, but there is no harm
Please login to merge, or discard this patch.
modules/ModuleBuilder/MB/MBVardefs.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -68,6 +68,10 @@
 block discarded – undo
68 68
     }
69 69
 
70 70
 
71
+	/**
72
+	 * @param boolean $by_group
73
+	 * @param string $file
74
+	 */
71 75
 	function loadTemplate($by_group, $template, $file){
72 76
 		$module = $this->name;
73 77
 		$table_name = $this->name;
Please login to merge, or discard this patch.