Completed
Push — developer ( dcd43f...1946c6 )
by Błażej
48:56 queued 21:47
created
include/Webservices/Custom/DeleteUser.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -12,6 +12,8 @@
 block discarded – undo
12 12
 
13 13
 /**
14 14
  * @author MAK
15
+ * @param string $id
16
+ * @param string $newOwnerId
15 17
  */
16 18
 function vtws_deleteUser($id, $newOwnerId, $user)
17 19
 {
Please login to merge, or discard this patch.
modules/Calendar/iCal/ical-parser-class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -10,12 +10,18 @@
 block discarded – undo
10 10
 		$this->folders = 'cache/import/';
11 11
 	}
12 12
 
13
+	/**
14
+	 * @param string $filename
15
+	 */
13 16
 	public function iCalReader($filename, $rootDirectory = '')
14 17
 	{
15 18
 		$iCaltoArray = $this->iCalDecoder($filename, $rootDirectory);
16 19
 		return $iCaltoArray;
17 20
 	}
18 21
 
22
+	/**
23
+	 * @param string $rootDirectory
24
+	 */
19 25
 	public function iCalDecoder($file, $rootDirectory)
20 26
 	{
21 27
 		$ical = file_get_contents($rootDirectory . $this->folders . $file);
Please login to merge, or discard this patch.
modules/Calendar/iCal/iCalendar_parameters.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@  discard block
 block discarded – undo
31 31
 		}
32 32
 	}
33 33
 
34
+	/**
35
+	 * @param iCalendar_property $parent_property
36
+	 */
34 37
 	public function is_valid_value(&$parent_property, $parameter, $value)
35 38
 	{
36 39
 		switch ($parameter) {
@@ -183,6 +186,9 @@  discard block
 block discarded – undo
183 186
 		}
184 187
 	}
185 188
 
189
+	/**
190
+	 * @param string $parameter
191
+	 */
186 192
 	public function do_value_formatting($parameter, $value)
187 193
 	{
188 194
 		switch ($parameter) {
Please login to merge, or discard this patch.
modules/Calendar/iCal/iCalendar_properties.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
 
28 28
 	// If some property needs extra care with its parameters, override this
29 29
 	// IMPORTANT: the parameter name MUST BE CAPITALIZED!
30
+
31
+	/**
32
+	 * @param string $parameter
33
+	 */
30 34
 	public function is_valid_parameter($parameter, $value)
31 35
 	{
32 36
 
@@ -1218,6 +1222,9 @@  discard block
 block discarded – undo
1218 1222
 		);
1219 1223
 	}
1220 1224
 
1225
+	/**
1226
+	 * @param string $name
1227
+	 */
1221 1228
 	public function set_name($name)
1222 1229
 	{
1223 1230
 
Please login to merge, or discard this patch.
modules/Calendar/iCal/iCalendar_rfc2445.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
 define('RFC2445_TYPE_URI', 12); // CAL_ADDRESS === URI
41 41
 define('RFC2445_TYPE_UTC_OFFSET', 13);
42 42
 
43
+/**
44
+ * @param string $string
45
+ */
43 46
 function rfc2445_fold($string)
44 47
 {
45 48
 	if (strlen($string) <= RFC2445_FOLDED_LINE_LENGTH) {
@@ -67,6 +70,9 @@  discard block
 block discarded – undo
67 70
 	return $string;
68 71
 }
69 72
 
73
+/**
74
+ * @param string $name
75
+ */
70 76
 function rfc2445_is_xname($name)
71 77
 {
72 78
 
Please login to merge, or discard this patch.
modules/Faq/models/Record.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
 	/**
15 15
 	 * Function to get Instance of Faq Record Model using TroubleTicket RecordModel
16 16
 	 * @param  HelpDesk_Record_Model
17
+	 * @param Vtiger_Record_Model $parentRecordModel
17 18
 	 * @return Faq_Record_Model
18 19
 	 */
19 20
 	public static function getInstanceFromHelpDesk($parentRecordModel)
Please login to merge, or discard this patch.
modules/Import/models/Map.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
 		return $this->map;
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param string $key
64
+	 */
62 65
 	public function getValue($key)
63 66
 	{
64 67
 		$map = $this->map;
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,9 @@
 block discarded – undo
69 69
 
70 70
 	public function getStringifiedContent()
71 71
 	{
72
-		if (empty($this->map['content']))
73
-			return;
72
+		if (empty($this->map['content'])) {
73
+					return;
74
+		}
74 75
 		$content = $this->map['content'];
75 76
 		$keyValueStrings = [];
76 77
 		foreach ($content as $key => $value) {
Please login to merge, or discard this patch.
modules/IStorages/data_access/checkHierarchy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 	 * Checks if chosen parent is record child
45 45
 	 * @param type $parentId
46 46
 	 * @param type $childArray
47
-	 * @return true if parent can be set
47
+	 * @return boolean if parent can be set
48 48
 	 */
49 49
 	public function checkChildren($parentId, $childArray)
50 50
 	{
Please login to merge, or discard this patch.
modules/IStorages/IStorages.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,6 +201,7 @@  discard block
 block discarded – undo
201 201
 	 * @param integer $id - istorageid
202 202
 	 * @param array $parentIStorages - Array of all the parent storages
203 203
 	 * returns All the parent Storages of the given istorageid in array format
204
+	 * @param integer[] $encounteredIStorages
204 205
 	 */
205 206
 	public function getParentIStorages($id, &$parentIStorages, &$encounteredIStorages, $depthBase = 0)
206 207
 	{
@@ -266,7 +267,7 @@  discard block
 block discarded – undo
266 267
 	 * Function to Recursively get all the child storages of a given Storage
267 268
 	 * @param integer $id - istorageid
268 269
 	 * @param array $childIStorages - Array of all the child storages
269
-	 * @param integer $depth - Depth at which the particular storage has to be placed in the hierarchy
270
+	 * @param integer $depthBase - Depth at which the particular storage has to be placed in the hierarchy
270 271
 	 * returns All the child storages of the given istorageid in array format
271 272
 	 */
272 273
 	public function getChildIStorages($id, &$childIStorages, $depthBase)
Please login to merge, or discard this patch.