Passed
Push — scrutinizer-code-quality ( eedb15...27193c )
by Adam
54:15 queued 15s
created
modules/Import/maps/ImportMap.php 1 patch
Doc Comments   -8 removed lines patch added patch discarded remove patch
@@ -192,13 +192,6 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Save
194 194
      *
195
-     * @param  string $owner_id
196
-     * @param  string $name
197
-     * @param  string $module
198
-     * @param  string $source
199
-     * @param  string $has_header
200
-     * @param  string $delimiter
201
-     * @param  string $enclosure
202 195
      * @return bool
203 196
      */
204 197
     public function save($check_notify = FALSE) {
@@ -362,7 +355,6 @@  discard block
 block discarded – undo
362 355
     /**
363 356
      * set and get field elements in request field to and from user preferences
364 357
      *
365
-     * @param  array $fields_array
366 358
      * @return array $obj_arr
367 359
      */
368 360
     public function set_get_import_wizard_fields($ForceValsArr = '')
Please login to merge, or discard this patch.
modules/Import/sources/ImportDataSource.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,6 @@
 block discarded – undo
107 107
      * external field name and the rvalue equal to the actual value.  
108 108
      *
109 109
      * @abstract
110
-     * @param  int $startIndex
111 110
      * @param  int $maxResults
112 111
      * @return void
113 112
      */
Please login to merge, or discard this patch.
modules/Import/sources/ImportFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -393,6 +393,9 @@
 block discarded – undo
393 393
         return $this->_time_format;
394 394
     }
395 395
 
396
+    /**
397
+     * @param boolean $hasHeader
398
+     */
396 399
     public function setHeaderRow($hasHeader)
397 400
     {
398 401
         $this->_hasHeader = $hasHeader;
Please login to merge, or discard this patch.
modules/Import/views/ImportListView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * Create a list view object that can display a data source which implements the Paginatable interface.
85 85
      *
86 86
      * @throws Exception
87
-     * @param  Paginatable $dataSource
87
+     * @param  ImportFile $dataSource
88 88
      * @param  array $params
89 89
      * @param string $tableIdentifier
90 90
      */
Please login to merge, or discard this patch.
modules/Import/views/view.confirm.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -227,6 +227,9 @@  discard block
 block discarded – undo
227 227
         return get_select_options_with_id($GLOBALS['app_list_strings']['import_delimeter_options'], $selctedDelim);
228 228
     }
229 229
 
230
+    /**
231
+     * @param string $enclosure
232
+     */
230 233
     private function getEnclosureOptions($enclosure)
231 234
     {
232 235
         $results = array();
@@ -392,6 +395,9 @@  discard block
 block discarded – undo
392 395
         $this->ss->assign('TIMEZONEOPTIONS', TimeDate::getTimezoneList());
393 396
     }
394 397
 
398
+    /**
399
+     * @param ImportFile $importFile
400
+     */
395 401
     private function setImportFileCharacterSet($importFile, $field_map = array())
396 402
     {
397 403
         global $locale;
@@ -431,6 +437,9 @@  discard block
 block discarded – undo
431 437
         return $maxColumns;
432 438
     }
433 439
 
440
+    /**
441
+     * @param ImportFile $importFile
442
+     */
434 443
     public function getSampleSet($importFile)
435 444
     {
436 445
         $rows = array();
@@ -456,6 +465,7 @@  discard block
 block discarded – undo
456 465
 
457 466
     /**
458 467
      * Returns JS used in this view
468
+     * @param boolean $maxRecordsExceeded
459 469
      */
460 470
     private function _getJS($maxRecordsExceeded, $maxRecordsWarningMessg, $importMappingJS, $importFileMap)
461 471
     {
Please login to merge, or discard this patch.
modules/Import/views/view.last.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -186,6 +186,10 @@  discard block
 block discarded – undo
186 186
 
187 187
     }
188 188
 
189
+    /**
190
+     * @param string $fileName
191
+     * @param string $tableName
192
+     */
189 193
     protected function getListViewTableFromFile($fileName, $tableName)
190 194
     {
191 195
         $has_header = $_REQUEST['has_header'] == 'on' ? TRUE : FALSE;
@@ -197,6 +201,7 @@  discard block
 block discarded – undo
197 201
 
198 202
     /**
199 203
      * Returns JS used in this view
204
+     * @param integer $activeTab
200 205
      */
201 206
     private function _getJS($activeTab)
202 207
     {
Please login to merge, or discard this patch.
modules/InboundEmail/AOPInboundEmail.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * Replaces embedded image links with links to the appropriate note in the CRM.
31
-     * @param $string
31
+     * @param string $string
32 32
      * @param $noteIds A whitelist of note ids to replace
33 33
      * @return mixed
34 34
      */
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
 
56
+    /**
57
+     * @param Email $email
58
+     */
56 59
     function handleCreateCase($email, $userId) {
57 60
         global $current_user, $mod_strings, $current_language;
58 61
         $mod_strings = return_module_language($current_language, "Emails");
Please login to merge, or discard this patch.
modules/jjwg_Maps/controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@
 block discarded – undo
446 446
      * 
447 447
      * Export rows of data as a CSV file
448 448
      * @param unknown_type $rows
449
-     * @param unknown_type $filename
449
+     * @param string $filename
450 450
      */
451 451
     private function do_list_csv_output($rows, $filename) {
452 452
 
Please login to merge, or discard this patch.
modules/Leads/Lead.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -476,6 +476,10 @@
 block discarded – undo
476 476
 	}
477 477
 
478 478
 //carrys forward custom lead fields to contacts, accounts, opportunities during Lead Conversion
479
+	/**
480
+	 * @param string $form
481
+	 * @param Opportunity $tempBean
482
+	 */
479 483
 	function convertCustomFieldsForm(&$form, &$tempBean, &$prefix) {
480 484
 
481 485
 		global $mod_strings, $app_list_strings, $app_strings, $lbl_required_symbol;
Please login to merge, or discard this patch.