Completed
Push — developer ( 31cfdf...98a6c9 )
by Błażej
70:35 queued 28:41
created
modules/OSSEmployees/OSSEmployees.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -149,6 +149,10 @@  discard block
 block discarded – undo
149 149
 		return $hierarchy;
150 150
 	}
151 151
 
152
+	/**
153
+	 * @param integer $id
154
+	 * @param integer[] $encountered_accounts
155
+	 */
152 156
 	public function __getParentEmployees($id, &$parent_accounts, &$encountered_accounts)
153 157
 	{
154 158
 		$adb = PearDatabase::getInstance();
@@ -200,6 +204,9 @@  discard block
 block discarded – undo
200 204
 		return $parent_accounts;
201 205
 	}
202 206
 
207
+	/**
208
+	 * @param integer $id
209
+	 */
203 210
 	public function __getChildEmployees($id, &$child_accounts, $depth)
204 211
 	{
205 212
 		$adb = PearDatabase::getInstance();
Please login to merge, or discard this patch.
modules/PriceBooks/PriceBooks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 
198 198
 	/** 	function used to get whether the pricebook has related with a product or not
199 199
 	 * 	@param int $id - product id
200
-	 * 	@return true or false - if there are no pricebooks available or associated pricebooks for the product is equal to total number of pricebooks then return false, else return true
200
+	 * 	@return boolean|null or false - if there are no pricebooks available or associated pricebooks for the product is equal to total number of pricebooks then return false, else return true
201 201
 	 */
202 202
 	public function get_pricebook_noproduct($id)
203 203
 	{
Please login to merge, or discard this patch.
modules/Products/Products.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@  discard block
 block discarded – undo
192 192
 		$this->db->pquery($query, $params);
193 193
 	}
194 194
 
195
+	/**
196
+	 * @param string $module
197
+	 */
195 198
 	public function insertIntoAttachment($id, $module)
196 199
 	{
197 200
 		$adb = PearDatabase::getInstance();
@@ -556,8 +559,6 @@  discard block
 block discarded – undo
556 559
 	}
557 560
 
558 561
 	/** 	function used to get the number of vendors which are related to the product
559
-	 * 	@param int $id - product id
560
-	 * 	@return int number of rows - return the number of products which do not have relationship with vendor
561 562
 	 */
562 563
 	public function product_novendor()
563 564
 	{
Please login to merge, or discard this patch.
modules/Reports/ReportRun.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
 		$this->customTables[] = $table;
104 104
 	}
105 105
 
106
+	/**
107
+	 * @param ReportRunQueryDependencyMatrix $dependencies
108
+	 */
106 109
 	public function requireTable($table, $dependencies = null)
107 110
 	{
108 111
 
@@ -782,6 +785,7 @@  discard block
 block discarded – undo
782 785
 	/** Function to get field that is to be compared in query form for the given Comparator and field
783 786
 	 *  @ param $field : field
784 787
 	 *  returns the value for the comparator
788
+	 * @param string $field
785 789
 	 */
786 790
 	public function getFilterComparedField($field)
787 791
 	{
@@ -2308,6 +2312,11 @@  discard block
 block discarded – undo
2308 2312
 	 * 		HTML strings for
2309 2313
 	 */
2310 2314
 	// Performance Optimization: Added parameter directOutput to avoid building big-string!
2315
+
2316
+	/**
2317
+	 * @param string $outputformat
2318
+	 * @param string $filtersql
2319
+	 */
2311 2320
 	public function GenerateReport($outputformat, $filtersql, $directOutput = false, $startLimit = false, $endLimit = false)
2312 2321
 	{
2313 2322
 		$adb = PearDatabase::getInstance();
Please login to merge, or discard this patch.
modules/Reports/Reports.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -387,6 +387,7 @@
 block discarded – undo
387 387
 	 *  This function accepts the folderid
388 388
 	 *  This Generates the Reports under each Reports module
389 389
 	 *  This Returns a HTML sring
390
+	 * @param boolean $rpt_fldr_id
390 391
 	 */
391 392
 	public function sgetRptsforFldr($rpt_fldr_id, $paramsList = false)
392 393
 	{
Please login to merge, or discard this patch.
modules/Reports/ScheduledReports.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -340,6 +340,9 @@
 block discarded – undo
340 340
 		return $rolesAndSubHTML;
341 341
 	}
342 342
 
343
+	/**
344
+	 * @param Users $user
345
+	 */
343 346
 	public static function getScheduledReports($adb, $user)
344 347
 	{
345 348
 
Please login to merge, or discard this patch.
modules/Users/Users.php 1 patch
Doc Comments   +13 added lines, -6 removed lines patch added patch discarded remove patch
@@ -214,7 +214,6 @@  discard block
 block discarded – undo
214 214
 
215 215
 	/**
216 216
 	 * @return string encrypted password for storage in DB and comparison against DB password.
217
-	 * @param string $user_name - Must be non null and at least 2 characters
218 217
 	 * @param string $user_password - Must be non null and at least 1 character.
219 218
 	 * @desc Take an unencrypted username and password and return the encrypted password
220 219
 	 * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc..
@@ -304,7 +303,7 @@  discard block
 block discarded – undo
304 303
 	/**
305 304
 	 * Checks the config.php AUTHCFG value for login type and forks off to the proper module
306 305
 	 *
307
-	 * @param string $user_password - The password of the user to authenticate
306
+	 * @param string $userPassword - The password of the user to authenticate
308 307
 	 * @return true if the user is authenticated, false otherwise
309 308
 	 */
310 309
 	public function doLogin($userPassword)
@@ -454,7 +453,6 @@  discard block
 block discarded – undo
454 453
 	}
455 454
 
456 455
 	/**
457
-	 * @param string $user name - Must be non null and at least 1 character.
458 456
 	 * @param string $userPassword - Must be non null and at least 1 character.
459 457
 	 * @param string $newPassword - Must be non null and at least 1 character.
460 458
 	 * @return boolean - If passwords pass verification and query succeeds, return true, else return false.
@@ -513,6 +511,9 @@  discard block
 block discarded – undo
513 511
 		return true;
514 512
 	}
515 513
 
514
+	/**
515
+	 * @param string $password
516
+	 */
516 517
 	public function verifyPassword($password)
517 518
 	{
518 519
 		$query = "SELECT user_name,user_password,crypt_type FROM {$this->table_name} WHERE id=?";
@@ -874,7 +875,7 @@  discard block
 block discarded – undo
874 875
 	}
875 876
 
876 877
 	/** Function to insert values into the attachment table
877
-	 * @param $id -- entity id:: Type integer
878
+	 * @param integer $id -- entity id:: Type integer
878 879
 	 * @param $module -- module:: Type varchar
879 880
 	 */
880 881
 	public function insertIntoAttachment($id, $module)
@@ -894,7 +895,7 @@  discard block
 block discarded – undo
894 895
 
895 896
 	/** Function to retreive the user info of the specifed user id The user info will be available in $this->column_fields array
896 897
 	 * @param $record -- record id:: Type integer
897
-	 * @param $module -- module:: Type varchar
898
+	 * @param string $module -- module:: Type varchar
898 899
 	 */
899 900
 	public function retrieve_entity_info($record, $module)
900 901
 	{
@@ -1139,6 +1140,9 @@  discard block
 block discarded – undo
1139 1140
 		return $return_array;
1140 1141
 	}
1141 1142
 
1143
+	/**
1144
+	 * @param string $home_string
1145
+	 */
1142 1146
 	public function getDefaultHomeModuleVisibility($home_string, $inVal)
1143 1147
 	{
1144 1148
 		$homeModComptVisibility = 1;
@@ -1152,6 +1156,9 @@  discard block
 block discarded – undo
1152 1156
 		return $homeModComptVisibility;
1153 1157
 	}
1154 1158
 
1159
+	/**
1160
+	 * @param string $inVal
1161
+	 */
1155 1162
 	public function insertUserdetails($inVal)
1156 1163
 	{
1157 1164
 		$adb = PearDatabase::getInstance();
@@ -1237,7 +1244,7 @@  discard block
 block discarded – undo
1237 1244
 	}
1238 1245
 
1239 1246
 	/** function to save the order in which the modules have to be displayed in the home page for the specified user id
1240
-	 * @param $id -- user id:: Type integer
1247
+	 * @param integer $id -- user id:: Type integer
1241 1248
 	 */
1242 1249
 	public function saveHomeStuffOrder($id)
1243 1250
 	{
Please login to merge, or discard this patch.
modules/Vtiger/models/ModuleMeta.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
 	/**
44 44
 	 * Functions returns webservices meta object
45
-	 * @return webservices meta
45
+	 * @return boolean meta
46 46
 	 */
47 47
 	public function getMeta()
48 48
 	{
Please login to merge, or discard this patch.
vtlib/Vtiger/Block.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,6 +78,7 @@  discard block
 block discarded – undo
78 78
 	/**
79 79
 	 * Create vtiger CRM block
80 80
 	 * @access private
81
+	 * @param boolean $moduleInstance
81 82
 	 */
82 83
 	public function __create($moduleInstance)
83 84
 	{
@@ -150,7 +151,8 @@  discard block
 block discarded – undo
150 151
 	/**
151 152
 	 * Add field to this block
152 153
 	 * @param Field Instance of field to add to this block.
153
-	 * @return Reference to this block instance
154
+	 * @param Field $fieldInstance
155
+	 * @return Block to this block instance
154 156
 	 */
155 157
 	public function addField($fieldInstance)
156 158
 	{
@@ -226,6 +228,7 @@  discard block
 block discarded – undo
226 228
 	 * Delete all blocks associated with module
227 229
 	 * @param Module Instnace of module to use
228 230
 	 * @param Boolean true to delete associated fields, false otherwise
231
+	 * @param ModuleBasic $moduleInstance
229 232
 	 * @access private
230 233
 	 */
231 234
 	static function deleteForModule($moduleInstance, $recursive = true)
Please login to merge, or discard this patch.