Test Failed
Push — CI ( c95a04...5b7ec7 )
by Adam
105:00 queued 49:09
created
modules/Opportunities/SaveOverload.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@
 block discarded – undo
39 39
  ********************************************************************************/
40 40
 
41 41
 
42
+/**
43
+ * @param Opportunity $focus
44
+ */
42 45
 function perform_save(&$focus){
43 46
 	//US DOLLAR
44 47
 	if(isset($focus->amount) && !number_empty($focus->amount)){
Please login to merge, or discard this patch.
modules/Project/chart.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
     private $end_date;
25 25
     private $tasks;
26 26
 
27
+    /**
28
+     * @param string $start_date
29
+     */
27 30
     public function __construct($start_date, $end_date, $tasks)
28 31
     {
29 32
         $this->start_date = $start_date;
@@ -269,6 +272,10 @@  discard block
 block discarded – undo
269 272
     }
270 273
 
271 274
     //get date of passed in day in relation to the charts start date
275
+
276
+    /**
277
+     * @param integer $day
278
+     */
272 279
     function get_date($start, $day){
273 280
         $date = DateTime::createFromFormat('Y-m-d', $start);
274 281
        // $date->setTimezone(new DateTimeZone("Europe/London"));
Please login to merge, or discard this patch.
modules/Project/controller.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -202,6 +202,12 @@  discard block
 block discarded – undo
202 202
     }
203 203
 
204 204
 
205
+    /**
206
+     * @param string $milestone_flag
207
+     * @param string $status
208
+     * @param integer $project_task_id
209
+     * @param integer $order_number
210
+     */
205 211
     function create_task($name, $start, $end, $project_id, $milestone_flag, $status, $project_task_id, $predecessors, $rel_type, $duration, $duration_unit, $resource, $percent_complete, $description,$actual_duration,$order_number){
206 212
 
207 213
         $task = new ProjectTask();
@@ -224,6 +230,10 @@  discard block
 block discarded – undo
224 230
         $task->save();
225 231
     }
226 232
 
233
+    /**
234
+     * @param string $milestone_flag
235
+     * @param string $status
236
+     */
227 237
     function update_task($id, $name, $start, $end, $project_id, $milestone_flag, $status, $predecessors, $rel_type, $duration, $duration_unit, $resource, $percent_complete, $description,$actual_duration){
228 238
 
229 239
         $task = new ProjectTask();
@@ -397,6 +407,10 @@  discard block
 block discarded – undo
397 407
 
398 408
 
399 409
     //Returns the total number of days between two dates
410
+
411
+    /**
412
+     * @param string $start_date
413
+     */
400 414
     function count_days($start_date, $end_date){
401 415
         $d1 = new DateTime($start_date);
402 416
         $d2 = new DateTime($end_date);
Please login to merge, or discard this patch.
modules/ProjectTask/ProjectTask.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -209,6 +209,9 @@
 block discarded – undo
209 209
 		return $return_value;
210 210
 	}
211 211
 
212
+    /**
213
+     * @param string $project_id
214
+     */
212 215
     function _get_project_name($project_id)
213 216
     {
214 217
         $return_value = '';
Please login to merge, or discard this patch.
modules/ProspectLists/ProspectList.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -295,6 +295,10 @@
 block discarded – undo
295 295
     		$this->set_prospect_relationship($this->id, $this->contact_id, "prospect");
296 296
     }
297 297
 
298
+	/**
299
+	 * @param string $prospect_list_id
300
+	 * @param string $link_name
301
+	 */
298 302
 	function set_prospect_relationship($prospect_list_id, &$link_ids, $link_name)
299 303
 	{
300 304
 		$link_field = sprintf("%s_id", $link_name);
Please login to merge, or discard this patch.
modules/ProspectLists/ProspectListFormBase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
 class ProspectListFormBase {
51 51
 
52 52
 
53
+/**
54
+ * @param string $prefix
55
+ */
53 56
 function getForm($prefix, $mod='', $form=''){
54 57
 	
55 58
 	if(!ACLController::checkAccess('ProspectLists', 'edit', true)){
Please login to merge, or discard this patch.
modules/Relationships/Relationship.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -246,6 +246,9 @@
 block discarded – undo
246 246
 	}
247 247
 
248 248
 
249
+	/**
250
+	 * @param string $base_module
251
+	 */
249 252
 	function trace_relationship_module($base_module, $rel_module1_name, $rel_module2_name=""){
250 253
 		global $beanList;
251 254
 		global $dictionary;
Please login to merge, or discard this patch.
modules/Relationships/RelationshipHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -320,6 +320,9 @@
 block discarded – undo
320 320
 //end function get_relationship_information
321 321
 }	
322 322
 
323
+/**
324
+ * @param string $base_module
325
+ */
323 326
 function traverse_rel_meta($base_module, & $target_bean, $target_rel_name){
324 327
 	$id_name = null;
325 328
 
Please login to merge, or discard this patch.
modules/Reminders/Reminder.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -97,6 +97,10 @@  discard block
 block discarded – undo
97 97
         }
98 98
     }
99 99
 	
100
+    /**
101
+     * @param string $eventModule
102
+     * @param string $eventModuleId
103
+     */
100 104
     private static function saveRemindersData($eventModule, $eventModuleId, $remindersData) {
101 105
         $savedReminderIds = array();
102 106
         foreach($remindersData as $reminderData) {
@@ -408,6 +412,9 @@  discard block
 block discarded – undo
408 412
 		return null;
409 413
 	}
410 414
 
415
+	/**
416
+	 * @param string $person_table
417
+	 */
411 418
 	private function upgradeEventPersonQuery(SugarBean $event, $person_table) {
412 419
 		$eventIdField = strtolower($event->object_name).'_id';
413 420
 		$query = "
@@ -606,6 +613,9 @@  discard block
 block discarded – undo
606 613
 		self::removeOldReminder($eventModule, $eventModuleId);
607 614
 	}
608 615
 
616
+	/**
617
+	 * @param string $reminderId
618
+	 */
609 619
 	private static function migrateReminderInvitees($reminderId, $invitees) {
610 620
 		$ret = array();
611 621
 		foreach((array) $invitees as $invitee) {
Please login to merge, or discard this patch.