Completed
Push — developer ( d7bfd9...1cf1f5 )
by Błażej
520:50 queued 478:32
created
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/Calendar/views/Edit.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -155,6 +155,10 @@
 block discarded – undo
155 155
 		$viewer->view('EditView.tpl', $moduleName);
156 156
 	}
157 157
 
158
+	/**
159
+	 * @param Vtiger_Request $request
160
+	 * @param string $moduleName
161
+	 */
158 162
 	public function Calendar($request, $moduleName)
159 163
 	{
160 164
 		parent::process($request);
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/actions/Queue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
158 158
 		];
159 159
 	}
160 160
 
161
+	/**
162
+	 * @param integer $temp_status
163
+	 */
161 164
 	static function updateStatus($importId, $temp_status)
162 165
 	{
163 166
 		$db = PearDatabase::getInstance();
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
@@ -67,8 +67,9 @@
 block discarded – undo
67 67
 
68 68
 	public function getStringifiedContent()
69 69
 	{
70
-		if (empty($this->map['content']))
71
-			return;
70
+		if (empty($this->map['content'])) {
71
+					return;
72
+		}
72 73
 		$content = $this->map['content'];
73 74
 		$keyValueStrings = array();
74 75
 		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.