Test Failed
Push — CI ( 0f01dd...c95a04 )
by Adam
55:13
created
include/MVC/View/SugarView.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1039,6 +1039,7 @@  discard block
 block discarded – undo
1039 1039
      *
1040 1040
      * @param string option - the option that we want to know the valye of
1041 1041
      * @param bool default - what the default value should be if we do not find the option
1042
+     * @param string $option
1042 1043
      *
1043 1044
      * @return bool - the value of the option
1044 1045
      */
@@ -1273,7 +1274,7 @@  discard block
 block discarded – undo
1273 1274
     * Return the "breadcrumbs" to display at the top of the page
1274 1275
     *
1275 1276
     * @param  bool $show_help optional, true if we show the help links
1276
-    * @return HTML string containing breadcrumb title
1277
+    * @return string string containing breadcrumb title
1277 1278
     */
1278 1279
     public function getModuleTitle(
1279 1280
         $show_help = true
@@ -1446,6 +1447,9 @@  discard block
 block discarded – undo
1446 1447
     	}
1447 1448
     }
1448 1449
 
1450
+    /**
1451
+     * @param string $module
1452
+     */
1449 1453
     protected function getModuleTitleIconPath($module)
1450 1454
     {
1451 1455
     	$iconPath = "";
@@ -1496,7 +1500,7 @@  discard block
 block discarded – undo
1496 1500
     /**
1497 1501
      * Fetch config values to be put into an array for JavaScript
1498 1502
      *
1499
-     * @return array
1503
+     * @return string[]
1500 1504
      */
1501 1505
     protected function getSugarConfigJS(){
1502 1506
         global $sugar_config;
Please login to merge, or discard this patch.
include/MVC/View/ViewFactory.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@  discard block
 block discarded – undo
53 53
 	/**
54 54
 	 * load the correct view
55 55
 	 * @param string $type View Type
56
+	 * @param string $module
56 57
 	 * @return valid view
57 58
 	 */
58 59
 	static function loadView($type = 'default', $module, $bean = null, $view_object_map = array(), $target_module=''){
@@ -98,6 +99,7 @@  discard block
 block discarded – undo
98 99
 
99 100
 	/**
100 101
 	 * Load the view_<view>_config.php file which holds options used by the view.
102
+	 * @param string $type
101 103
 	 */
102 104
 	static function _loadConfig(&$view, $type){
103 105
 		$view_config_custom = array();
@@ -199,6 +201,8 @@  discard block
 block discarded – undo
199 201
 	 * This is a private function which just helps the getView function generate the
200 202
 	 * proper view object
201 203
 	 *
204
+	 * @param string $file
205
+	 * @param string $type
202 206
 	 * @return a valid SugarView
203 207
 	 */
204 208
 	static function _buildFromFile($file, &$bean, $view_object_map, $type, $module){
@@ -242,6 +246,7 @@  discard block
 block discarded – undo
242 246
 	 * @param object bean = the bean to pass to the view
243 247
 	 * @param array view_object_map - the array which holds obejcts to pass between the
244 248
 	 *                                controller and the view.
249
+	 * @param string $class
245 250
 	 *
246 251
 	 * @return SugarView
247 252
 	 */
Please login to merge, or discard this patch.
include/MVC/View/views/view.list.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -272,6 +272,7 @@
 block discarded – undo
272 272
 
273 273
       /**
274 274
        *
275
+       * @param string $module
275 276
        * @return SearchForm
276 277
        */
277 278
     protected function getSearchForm2($seed, $module, $action = "index")
Please login to merge, or discard this patch.
include/MVC/View/views/view.metadata.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
 	
48 48
 	
49 49
  	
50
+ 	/**
51
+ 	 * @param string $name
52
+ 	 */
50 53
  	function displayCheckBoxes($name,$values, $selected =array(), $attr=''){
51 54
  		echo "<div $attr style='overflow:auto;float:left;width:200px;height:200px' >";
52 55
 		foreach($values as $value){
@@ -56,6 +59,10 @@  discard block
 block discarded – undo
56 59
 		echo "</div>";
57 60
  	}
58 61
  	
62
+ 	/**
63
+ 	 * @param string $name
64
+ 	 * @param string[] $values
65
+ 	 */
59 66
  	function displaySelect($name,$values, $selected ='', $attr=''){
60 67
  		echo "<select name='$name' $attr>";
61 68
 		foreach($values as $value){
Please login to merge, or discard this patch.
include/nusoap/class.nusoap_base.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
 	/**
357 357
 	* gets the current debug data for this instance
358 358
 	*
359
-	* @return   debug data
359
+	* @return   string data
360 360
 	* @access   public
361 361
 	*/
362 362
 	function &getDebug() {
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 	* gets the current debug data for this instance as an XML comment
370 370
 	* this may change the contents of the debug data
371 371
 	*
372
-	* @return   debug data as an XML comment
372
+	* @return   string data as an XML comment
373 373
 	* @access   public
374 374
 	*/
375 375
 	function &getDebugAsXMLComment() {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
 	/**
403 403
 	* returns error string if present
404 404
 	*
405
-	* @return   mixed error string or false
405
+	* @return   string|false error string or false
406 406
 	* @access   public
407 407
 	*/
408 408
 	function getError(){
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 	/**
416 416
 	* sets error string
417 417
 	*
418
-	* @return   boolean $string error string
418
+	* @return   boolean|null $string error string
419 419
 	* @access   private
420 420
 	*/
421 421
 	function setError($str){
@@ -851,7 +851,7 @@  discard block
 block discarded – undo
851 851
     * returns false, if not prefixed
852 852
     *
853 853
     * @param string $str The prefixed string
854
-    * @return mixed The prefix or false if there is no prefix
854
+    * @return string|false The prefix or false if there is no prefix
855 855
     * @access public
856 856
     */
857 857
 	function getPrefix($str){
@@ -882,7 +882,7 @@  discard block
 block discarded – undo
882 882
     * or false if no prefixes registered for the given namespace
883 883
     *
884 884
     * @param string $ns The namespace
885
-    * @return mixed The prefix, false if the namespace has no prefixes
885
+    * @return string The prefix, false if the namespace has no prefixes
886 886
     * @access public
887 887
     */
888 888
 	function getPrefixFromNamespace($ns) {
@@ -948,7 +948,7 @@  discard block
 block discarded – undo
948 948
 *
949 949
 * @param    int $timestamp Unix time stamp
950 950
 * @param	boolean $utc Whether the time stamp is UTC or local
951
-* @return	mixed ISO 8601 date string or false
951
+* @return	string|false ISO 8601 date string or false
952 952
 * @access   public
953 953
 */
954 954
 function timestamp_to_iso8601($timestamp,$utc=true){
Please login to merge, or discard this patch.
include/nusoap/class.soap_fault.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
     * @param string $faultcode (SOAP-ENV:Client | SOAP-ENV:Server)
85 85
     * @param string $faultactor only used when msg routed between multiple actors
86 86
     * @param string $faultstring human readable error message
87
-    * @param mixed $faultdetail detail, typically a string or array of string
87
+    * @param string $faultdetail detail, typically a string or array of string
88 88
 	*/
89 89
 	function nusoap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
90 90
 		parent::nusoap_base();
Please login to merge, or discard this patch.
include/nusoap/class.soap_server.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -892,7 +892,7 @@  discard block
 block discarded – undo
892 892
 	*
893 893
 	* @param	array	$headers	The HTTP headers
894 894
 	* @param	string	$data		unprocessed request data from client
895
-	* @return	mixed	value of the message, decoded into a PHP type
895
+	* @return	false|null	value of the message, decoded into a PHP type
896 896
 	* @access   private
897 897
 	*/
898 898
     function parseRequest($headers, $data) {
@@ -999,7 +999,7 @@  discard block
 block discarded – undo
999 999
 	* @param    string $name the name of the PHP function, class.method or class..method
1000 1000
 	* @param    array $in assoc array of input values: key = param name, value = param type
1001 1001
 	* @param    array $out assoc array of output values: key = param name, value = param type
1002
-	* @param	mixed $namespace the element namespace for the method or false
1002
+	* @param	string $namespace the element namespace for the method or false
1003 1003
 	* @param	mixed $soapaction the soapaction for the method or false
1004 1004
 	* @param	mixed $style optional (rpc|document) or false Note: when 'document' is specified, parameter and return wrappers are created for you automatically
1005 1005
 	* @param	mixed $use optional (encoded|literal) or false
@@ -1089,11 +1089,12 @@  discard block
 block discarded – undo
1089 1089
     * Acts as a flag to enable internal WSDL generation
1090 1090
     *
1091 1091
     * @param string $serviceName, name of the service
1092
-    * @param mixed $namespace optional 'tns' service namespace or false
1093
-    * @param mixed $endpoint optional URL of service endpoint or false
1092
+    * @param string $namespace optional 'tns' service namespace or false
1093
+    * @param string $endpoint optional URL of service endpoint or false
1094 1094
     * @param string $style optional (rpc|document) WSDL style (also specified by operation)
1095 1095
     * @param string $transport optional SOAP transport
1096 1096
     * @param mixed $schemaTargetNamespace optional 'types' targetNamespace for service schema or false
1097
+    * @param string $serviceName
1097 1098
     */
1098 1099
     function configureWSDL($serviceName,$namespace = false,$endpoint = false,$style='rpc', $transport = 'http://schemas.xmlsoap.org/soap/http', $schemaTargetNamespace = false)
1099 1100
     {
Please login to merge, or discard this patch.
include/nusoap/class.soap_transport_http.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -221,10 +221,6 @@  discard block
 block discarded – undo
221 221
 	/**
222 222
 	* establish an HTTP connection
223 223
 	*
224
-	* @param    integer $timeout set connection timeout in seconds
225
-	* @param	integer $response_timeout set response timeout in seconds
226
-	* @return	boolean true if connected, false if not
227
-	* @access   private
228 224
 	*/
229 225
 	function connect($connection_timeout=0,$response_timeout=30){
230 226
 	  	// For PHP 4.3 with OpenSSL, change https scheme to ssl, then treat like
@@ -783,7 +779,7 @@  discard block
 block discarded – undo
783 779
 	*
784 780
 	* @param    string $data message data
785 781
 	* @param	array $cookies cookies to send
786
-	* @return	boolean	true if OK, false if problem
782
+	* @return	boolean|null	true if OK, false if problem
787 783
 	* @access   private
788 784
 	*/
789 785
 	function sendRequest($data, $cookies = NULL) {
@@ -1218,7 +1214,7 @@  discard block
 block discarded – undo
1218 1214
 	 * sets the content-type for the SOAP message to be sent
1219 1215
 	 *
1220 1216
 	 * @param	string $type the content type, MIME style
1221
-	 * @param	mixed $charset character set used for encoding (or false)
1217
+	 * @param	string $charset character set used for encoding (or false)
1222 1218
 	 * @access	public
1223 1219
 	 */
1224 1220
 	function setContentType($type, $charset = false) {
@@ -1251,6 +1247,10 @@  discard block
 block discarded – undo
1251 1247
 	/*
1252 1248
 	 * TODO: allow a Set-Cookie string to be parsed into multiple cookies
1253 1249
 	 */
1250
+
1251
+	/**
1252
+	 * @param string $cookie_str
1253
+	 */
1254 1254
 	function parseCookie($cookie_str) {
1255 1255
 		$cookie_str = str_replace('; ', ';', $cookie_str) . ';';
1256 1256
 		$data = preg_split('/;/', $cookie_str);
Please login to merge, or discard this patch.
include/nusoap/class.soap_val.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	*
105 105
 	* @param    string $name optional name
106 106
 	* @param    mixed $type optional type name
107
-	* @param	mixed $value optional value
107
+	* @param	integer $value optional value
108 108
 	* @param	mixed $element_ns optional namespace of value
109 109
 	* @param	mixed $type_ns optional namespace of type
110 110
 	* @param	mixed $attributes associative array of attributes to add to element serialization
Please login to merge, or discard this patch.