Test Failed
Push — CI ( 02428e...3e0292 )
by Adam
55:43
created
include/connectors/sources/SourceFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
 
49 49
 	/**
50 50
 	 * Given a source param, load the correct source and return the object
51
-	 * @param string $source string representing the source to load
52 51
 	 * @return source
53 52
 	 */
54 53
 	public static function getSource($class, $call_init = true) {
Please login to merge, or discard this patch.
include/connectors/utils/ConnectorHtmlHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Get button for source
65 65
      *
66
-     * @param string $shown_source
66
+     * @param string $shown_sources
67 67
      * @param mixed $module
68 68
      * @param mixed $smarty
69 69
      * @return string
Please login to merge, or discard this patch.
include/connectors/utils/ConnectorUtils.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -417,7 +417,6 @@
 block discarded – undo
417 417
      * getModuleConnectors
418 418
      *
419 419
      * @param String $module the module to get the connectors for
420
-     * @param mixed $connectors Array of connectors mapped to the module or empty if none
421 420
      * @return array
422 421
      */
423 422
     public static function getModuleConnectors(
Please login to merge, or discard this patch.
include/controller/Controller.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -232,6 +232,9 @@  discard block
 block discarded – undo
232 232
 	//end function update_affected_order
233 233
 	}
234 234
 	
235
+	/**
236
+	 * @param string $parent_id
237
+	 */
235 238
 	function get_affected_id($parent_id, $list_order_x="", $list_order_y=""){	
236 239
 		
237 240
 		$query = "	SELECT id from ".$this->focus->table_name."
@@ -260,6 +263,9 @@  discard block
 block discarded – undo
260 263
 /////////////Wall Functions////////////////////
261 264
 
262 265
 
266
+/**
267
+ * @param string $parent_id
268
+ */
263 269
 function check_wall($magnitude, $direction, $parent_id){
264 270
 	
265 271
 //TODO: jgreen - this is only single axis check_wall mechanism, will need to upgrade this to double axis	
Please login to merge, or discard this patch.
include/Dashlets/DashletGenericChart.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -364,6 +364,10 @@  discard block
 block discarded – undo
364 364
     }
365 365
 
366 366
     //Added as the rgraph charts do not use SugarCharts and this is where this method was previously
367
+
368
+    /**
369
+     * @param string $query
370
+     */
367 371
     function getChartData($query)
368 372
     {
369 373
         global $app_list_strings, $db;
@@ -390,6 +394,8 @@  discard block
 block discarded – undo
390 394
     string $keycolname1      We will sort by this key secondly, and  it can be null, then it will only sort by the first column.
391 395
     bool $translate1            Whether to trabslate the second column
392 396
     bool $ifsort2                 Whether to sort by the second column or just translate the second column.
397
+    * @param string $keycolname1
398
+    * @param string $keycolname2
393 399
      * @return        The sorted and translated data.
394 400
      */
395 401
     function sortData($data_set, $keycolname1=null, $translate1=false, $keycolname2=null, $translate2=false, $ifsort2=false) {
Please login to merge, or discard this patch.
include/database/DBManager.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
 
355 355
 	/**
356 356
 	 * Return DB error message for the last query executed
357
-	 * @return string Last error message
357
+	 * @return boolean Last error message
358 358
 	 */
359 359
 	public function lastError()
360 360
 	{
@@ -1580,7 +1580,7 @@  discard block
 block discarded – undo
1580 1580
     /**
1581 1581
      * Frees out previous results
1582 1582
      *
1583
-     * @param resource|bool $result optional, pass if you want to free a single result instead of all results
1583
+     * @param boolean $result optional, pass if you want to free a single result instead of all results
1584 1584
      */
1585 1585
 	protected function freeResult($result = false)
1586 1586
 	{
@@ -2697,7 +2697,7 @@  discard block
 block discarded – undo
2697 2697
      * @param bool|string $ensureUnique Ensure the name is unique
2698 2698
      * @param string $type Name type (table, column)
2699 2699
      * @param bool $force Force new name
2700
-     * @return string|array Valid column name trimmed to right length and with invalid characters removed
2700
+     * @return string Valid column name trimmed to right length and with invalid characters removed
2701 2701
      */
2702 2702
 	public function getValidDBName($name, $ensureUnique = false, $type = 'column', $force = false)
2703 2703
 	{
@@ -3158,7 +3158,7 @@  discard block
 block discarded – undo
3158 3158
 	 * @param int $count
3159 3159
 	 * @param bool $dieOnError
3160 3160
 	 * @param string $msg
3161
-     * @return resource|bool query result
3161
+     * @return resource query result
3162 3162
      * @see DBManager::limitQuery()
3163 3163
 	 */
3164 3164
 	public function limitQuerySql($sql, $start, $count, $dieOnError=false, $msg='')
@@ -3385,7 +3385,7 @@  discard block
 block discarded – undo
3385 3385
 	 * @param bool $dieOnError Die on error, passed to query()
3386 3386
 	 * @param string $msg Error message, passed to query()
3387 3387
 	 * @param bool $suppress Supress errors, passed to query()
3388
-	 * @return resource|bool result set or success/failure bool
3388
+	 * @return boolean result set or success/failure bool
3389 3389
 	 */
3390 3390
 	public function queryArray(array $sqls, $dieOnError = false, $msg = '', $suppress = false)
3391 3391
 	{
@@ -3508,7 +3508,7 @@  discard block
 block discarded – undo
3508 3508
 	 * @abstract
3509 3509
 	 * If everything is OK, return true.
3510 3510
 	 * If something's wrong, return array of error code and parameters
3511
-	 * @return mixed
3511
+	 * @return boolean
3512 3512
 	 */
3513 3513
 	public function canInstall()
3514 3514
 	{
@@ -3773,7 +3773,7 @@  discard block
 block discarded – undo
3773 3773
 	 * @param array  $fieldDefs
3774 3774
 	 * @param string $action
3775 3775
 	 * @param bool   $ignoreRequired Optional, true if we should ignor this being a required field
3776
-	 * @return string|array
3776
+	 * @return string
3777 3777
 	 */
3778 3778
 	abstract protected function changeColumnSQL($tablename, $fieldDefs, $action, $ignoreRequired = false);
3779 3779
 
Please login to merge, or discard this patch.
include/database/MssqlManager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1298,7 +1298,7 @@  discard block
 block discarded – undo
1298 1298
      * modify operation
1299 1299
      * @param string $action
1300 1300
      * @param array  $def
1301
-     * @param bool   $ignorRequired
1301
+     * @param boolean   $ignoreRequired
1302 1302
      * @param string $tablename
1303 1303
      */
1304 1304
     protected function alterSQLRep($action, array $def, $ignoreRequired, $tablename)
@@ -1767,7 +1767,7 @@  discard block
 block discarded – undo
1767 1767
     /**
1768 1768
      * Saves changes to module's audit table
1769 1769
      *
1770
-     * @param object $bean    Sugarbean instance
1770
+     * @param SugarBean $bean    Sugarbean instance
1771 1771
      * @param array  $changes changes
1772 1772
      */
1773 1773
     public function save_audit_records(SugarBean $bean, $changes)
@@ -1876,7 +1876,7 @@  discard block
 block discarded – undo
1876 1876
      * This is a utility function to prepend the "N" character in front of SQL values that are
1877 1877
      * surrounded by single quotes.
1878 1878
      *
1879
-     * @param  $sql string SQL statement
1879
+     * @param  string $sql string SQL statement
1880 1880
      * @return string SQL statement with single quote values prepended with "N" character for nvarchar columns
1881 1881
      */
1882 1882
     protected function _appendN($sql)
@@ -1947,7 +1947,7 @@  discard block
 block discarded – undo
1947 1947
 
1948 1948
     /**
1949 1949
      * Generate fulltext query from set of terms
1950
-     * @param string $fields Field to search against
1950
+     * @param string $field Field to search against
1951 1951
      * @param array $terms Search terms that may be or not be in the result
1952 1952
      * @param array $must_terms Search terms that have to be in the result
1953 1953
      * @param array $exclude_terms Search terms that have to be not in the result
Please login to merge, or discard this patch.
include/database/MysqlManager.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -651,7 +651,7 @@  discard block
 block discarded – undo
651 651
 	/**
652 652
 	 * Returns the name of the engine to use or null if we are to use the default
653 653
 	 *
654
-	 * @param  object $bean SugarBean instance
654
+	 * @param  SugarBean $bean SugarBean instance
655 655
 	 * @return string
656 656
 	 */
657 657
 	protected function getEngine($bean)
@@ -1149,7 +1149,7 @@  discard block
 block discarded – undo
1149 1149
 
1150 1150
 	/**
1151 1151
 	 * Generate fulltext query from set of terms
1152
-	 * @param string $fields Field to search against
1152
+	 * @param string $field Field to search against
1153 1153
 	 * @param array $terms Search terms that may be or not be in the result
1154 1154
 	 * @param array $must_terms Search terms that have to be in the result
1155 1155
 	 * @param array $exclude_terms Search terms that have to be not in the result
@@ -1276,6 +1276,9 @@  discard block
 block discarded – undo
1276 1276
 		return '';
1277 1277
 	}
1278 1278
 
1279
+	/**
1280
+	 * @param string $querytype
1281
+	 */
1279 1282
 	protected function verifyGenericReplaceQuery($querytype, $table, $query)
1280 1283
 	{
1281 1284
 		$this->log->debug("verifying $querytype statement");
Please login to merge, or discard this patch.
include/database/SqlsrvManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -540,7 +540,7 @@
 block discarded – undo
540 540
 
541 541
     /**
542 542
      * Execute data manipulation statement, then roll it back
543
-     * @param  $type
543
+     * @param  string $type
544 544
      * @param  $table
545 545
      * @param  $query
546 546
      * @return string
Please login to merge, or discard this patch.