Test Failed
Push — CI ( 02428e...3e0292 )
by Adam
55:43
created
include/SubPanel/SubPanelDefinitions.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -417,11 +417,19 @@
 block discarded – undo
417 417
 	}
418 418
 
419 419
 	//get value of a property defined at the panel instance level.
420
+
421
+	/**
422
+	 * @param string $name
423
+	 */
420 424
 	function get_inst_prop_value ( $name )
421 425
 	{
422 426
 		return isset($this->_instance_properties[$name]) ? $this->_instance_properties [ $name ] : null;
423 427
 	}
424 428
 	//get value of a property defined at the panel definition level.
429
+
430
+	/**
431
+	 * @param string $name
432
+	 */
425 433
 	function get_def_prop_value ( $name )
426 434
 	{
427 435
 		if (isset ( $this->panel_definition [ $name ] ))
Please login to merge, or discard this patch.
include/SubPanel/SubPanelSearchForm.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -11,6 +11,11 @@
 block discarded – undo
11 11
 
12 12
     var $subPanel; // the instantiated bean of the subPanel
13 13
 
14
+    /**
15
+     * @param Meeting $seed
16
+     * @param string $module
17
+     * @param SubPanel $subPanel
18
+     */
14 19
     function SubPanelSearchForm($seed, $module, $subPanel, $options = array()){
15 20
         $this->subPanel = $subPanel;
16 21
         parent::SearchForm($seed, $module, 'DetailView', $options);
Please login to merge, or discard this patch.
include/SugarCache/SugarCache.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,6 +167,7 @@  discard block
 block discarded – undo
167 167
  *
168 168
  * @param String $key -- Global namespace cache.  Key for the data.
169 169
  * @param Serializable $value -- The value to store in the cache.
170
+ * @param integer $ttl
170 171
  */
171 172
 function sugar_cache_put($key, $value, $ttl = null)
172 173
 {
@@ -228,7 +229,7 @@  discard block
 block discarded – undo
228 229
  *
229 230
  * @deprecated
230 231
  *
231
- * @return true for success, false for failure.
232
+ * @return boolean for success, false for failure.
232 233
  */
233 234
 function sugar_cache_validate()
234 235
 {
Please login to merge, or discard this patch.
include/SugarCache/SugarCacheAbstract.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
      *  Set a value for a key in the cache, optionally specify a ttl. A ttl value of zero
159 159
      * will indicate that a value should only be stored per the request.
160 160
      *
161
-     * @param $key
161
+     * @param string $key
162 162
      * @param $value
163 163
      * @param $ttl
164 164
      */
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      * PHP's magic __isset() method, used here for checking for a key in the cache.
193 193
      *
194 194
      * @param  string $key
195
-     * @return mixed
195
+     * @return boolean
196 196
      */
197 197
     public function __isset($key)
198 198
     {
Please login to merge, or discard this patch.
include/SugarCharts/Jit/Jit.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
 	}
69 69
 	
70 70
 
71
+	/**
72
+	 * @param string $name
73
+	 */
71 74
 	function display($name, $xmlFile, $width='320', $height='480', $resize=false) {
72 75
 	
73 76
 		parent::display($name, $xmlFile, $width, $height, $resize);
Please login to merge, or discard this patch.
include/SugarCharts/JsChart.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
 
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param integer $depth
82
+	 */
80 83
 	function tab($str, $depth){
81 84
        // $str = preg_replace('/(<\w+>)(.*)(<\/\w+>)/e', "'\\1'.htmlentities(from_html('\\2')).'\\3'", $str);
82 85
         return str_repeat("\t", $depth) . $str . "\n";
@@ -663,6 +666,9 @@  discard block
 block discarded – undo
663 666
 		return $html;
664 667
 	}
665 668
 
669
+	/**
670
+	 * @param string $jsonContents
671
+	 */
666 672
 	function saveJsonFile($jsonContents) {
667 673
 		$this->jsonFilename = str_replace(".xml",".js",$this->xmlFile);
668 674
 		//$jsonContents = $GLOBALS['locale']->translateCharset($jsonContents, 'UTF-8', 'UTF-16LE');
Please login to merge, or discard this patch.
include/SugarCharts/SugarChart.php 1 patch
Doc Comments   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -292,11 +292,8 @@  discard block
 block discarded – undo
292 292
 	/**
293 293
      * returns text with tabs appended before it
294 294
 	 *
295
-     * @param 	string $str xml tag
296
-     			int $tagFormat 2 = open and close tag, 1 = close, 0 = open
297
-     			sting $value input string
298
-	 *			int $depth number of times to tab
299 295
      * @return	string with tabs appended before it
296
+     * @param integer $depth
300 297
      */
301 298
 
302 299
 	function tabValue($tag,$value,$depth) {
@@ -339,6 +336,9 @@  discard block
 block discarded – undo
339 336
 		return $data;
340 337
 	}
341 338
 
339
+	/**
340
+	 * @param integer $tablevel
341
+	 */
342 342
 	function processDataGroup($tablevel, $title, $value, $label, $link){
343 343
 		$link = $this->forceHideDataGroupLink ? '' : $link;
344 344
 		$data = $this->tab('<group>',$tablevel);
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
      * This function sets a null group by clause
646 646
      *
647 647
      * @param $sugarSetValue Mixed value
648
-     * @param $url String value of URL for the link
648
+     * @param string $url String value of URL for the link
649 649
      */
650 650
     private function nullGroup($superSetValue, $url) {
651 651
         return $this->processDataGroup(4, $superSetValue, 'NULL', '', $url);
@@ -709,7 +709,8 @@  discard block
 block discarded – undo
709 709
 	 *
710 710
      * @param 	string $xmlFilename location of the xml file
711 711
 	 *			string $xmlContents contents of the xml file
712
-     * @return	string boolean denoting whether save has failed
712
+	 * @param string $xmlContents
713
+     * @return	null|boolean boolean denoting whether save has failed
713 714
      */
714 715
 	function saveXMLFile($xmlFilename,$xmlContents) {
715 716
 		global $app_strings;
Please login to merge, or discard this patch.
include/SugarEmailAddress/SugarEmailAddress.php 1 patch
Doc Comments   +10 added lines, -16 removed lines patch added patch discarded remove patch
@@ -80,8 +80,6 @@  discard block
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * Legacy email address handling.  This is to allow support for SOAP or customizations
83
-     * @param string $id
84
-     * @param string $module
85 83
      */
86 84
     function handleLegacySave($bean, $prefix = "") {
87 85
         if(!isset($_REQUEST) || !isset($_REQUEST['useEmailWidget'])) {
@@ -166,12 +164,6 @@  discard block
 block discarded – undo
166 164
 
167 165
     /**
168 166
      * Saves email addresses for a parent bean
169
-     * @param string $id Parent bean ID
170
-     * @param string $module Parent bean's module
171
-     * @param array $addresses Override of $_REQUEST vars, used to handle non-standard bean saves
172
-     * @param string $primary GUID of primary address
173
-     * @param string $replyTo GUID of reply-to address
174
-     * @param string $invalid GUID of invalid address
175 167
      */
176 168
     public function save($check_notify = FALSE) {
177 169
         $args = func_get_args();
@@ -369,7 +361,6 @@  discard block
 block discarded – undo
369 361
      * Saves email addresses for a parent bean
370 362
      * @param string $id Parent bean ID
371 363
      * @param string $module Parent bean's module
372
-     * @param array $addresses Override of $_REQUEST vars, used to handle non-standard bean saves
373 364
      * @param string $primary GUID of primary address
374 365
      * @param string $replyTo GUID of reply-to address
375 366
      * @param string $invalid GUID of invalid address
@@ -620,7 +611,7 @@  discard block
 block discarded – undo
620 611
 
621 612
     /**
622 613
      * preps a passed email address for email address storage
623
-     * @param array $addr Address in focus, must be RFC compliant
614
+     * @param string $addr Address in focus, must be RFC compliant
624 615
      * @return string $id email_addresses ID
625 616
      */
626 617
     function getEmailGUID($addr) {
@@ -733,7 +724,8 @@  discard block
 block discarded – undo
733 724
  
734 725
     /**
735 726
      * Returns Primary or newest email address
736
-     * @param object $focus Object in focus
727
+     * @param boolean $focus Object in focus
728
+     * @param string $parent_type
737 729
      * @return string email
738 730
      */
739 731
     function getPrimaryAddress($focus,$parent_id=null,$parent_type=null) {
@@ -804,7 +796,7 @@  discard block
 block discarded – undo
804 796
      * Returns all email addresses by parent's GUID
805 797
      * @param string $id Parent's GUID
806 798
      * @param string $module Parent's module
807
-     * @return array
799
+     * @return string
808 800
      */
809 801
     function getAddressesByGUID($id, $module) {
810 802
         $return = array();
@@ -828,7 +820,6 @@  discard block
 block discarded – undo
828 820
 
829 821
     /**
830 822
      * Returns the HTML/JS for the EmailAddress widget
831
-     * @param string $parent_id ID of parent bean, generally $focus
832 823
      * @param string $module $focus' module
833 824
      * @param bool asMetadata Default false
834 825
      * @return string HTML/JS for widget
@@ -965,7 +956,7 @@  discard block
 block discarded – undo
965 956
 
966 957
     /**
967 958
      * getEmailAddressWidgetDuplicatesView($focus)
968
-     * @param object $focus Bean in focus
959
+     * @param Lead $focus Bean in focus
969 960
      * @return string HTML that contains hidden input values based off of HTML request
970 961
      */
971 962
     function getEmailAddressWidgetDuplicatesView($focus)
@@ -1041,6 +1032,7 @@  discard block
 block discarded – undo
1041 1032
     /**
1042 1033
      * getFormBaseURL
1043 1034
      *
1035
+     * @param SugarBean $focus
1044 1036
      */
1045 1037
     function getFormBaseURL($focus) {
1046 1038
         $get = "";
@@ -1081,13 +1073,15 @@  discard block
 block discarded – undo
1081 1073
 
1082 1074
     }
1083 1075
 
1076
+    /**
1077
+     * @param string $view
1078
+     */
1084 1079
     function setView($view) {
1085 1080
        $this->view = $view;
1086 1081
     }
1087 1082
 
1088 1083
 /**
1089 1084
  * This function is here so the Employees/Users division can be handled cleanly in one place
1090
- * @param object $focus SugarBean
1091 1085
  * @return string The value for the bean_module column in the email_addr_bean_rel table
1092 1086
  */
1093 1087
     function getCorrectedModule(&$module) {
@@ -1119,7 +1113,7 @@  discard block
 block discarded – undo
1119 1113
 
1120 1114
 /**
1121 1115
  * Convenience function for MVC (Mystique)
1122
- * @param object $focus SugarBean
1116
+ * @param SugarBean $focus SugarBean
1123 1117
  * @param string $field unused
1124 1118
  * @param string $value unused
1125 1119
  * @param string $view DetailView or EditView
Please login to merge, or discard this patch.
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.