Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
app/Db/Command.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,6 @@
 block discarded – undo
28 28
 	/**
29 29
 	 * Executes the SQL statement and returns ALL rows at once.
30 30
 	 *
31
-	 * @param int $fetchMode the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)
32
-	 *                       for valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used
33 31
 	 *
34 32
 	 * @throws Exception execution failed
35 33
 	 *
Please login to merge, or discard this patch.
app/Db/Importer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,6 @@
 block discarded – undo
156 156
 	/**
157 157
 	 * Get additional SQL fragment that will be appended to the generated SQL.
158 158
 	 *
159
-	 * @param string $type
160 159
 	 * @param array  $table
161 160
 	 *
162 161
 	 * @return string
Please login to merge, or discard this patch.
app/EventHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 	/**
171 171
 	 * Set record model.
172 172
 	 *
173
-	 * @param \App\Vtiger_Record_Model $recordModel
173
+	 * @param \Vtiger_Record_Model $recordModel
174 174
 	 */
175 175
 	public function setRecordModel(\Vtiger_Record_Model $recordModel)
176 176
 	{
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	/**
201 201
 	 * Add param.
202 202
 	 *
203
-	 * @param array $params
203
+	 * @param string $key
204 204
 	 */
205 205
 	public function addParams($key, $value)
206 206
 	{
Please login to merge, or discard this patch.
app/Fields/Date.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 	 * @link https://secure.php.net/manual/en/class.dateinterval.php
170 170
 	 * @link https://secure.php.net/manual/en/dateinterval.format.php
171 171
 	 *
172
-	 * @return string|int difference in format
172
+	 * @return double difference in format
173 173
 	 */
174 174
 	public static function getDiff($start, $end, $format = '%a')
175 175
 	{
Please login to merge, or discard this patch.
app/Fields/Email.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 	 * @param string $value
18 18
 	 * @param string $moduleName
19 19
 	 *
20
-	 * @return bool|string
20
+	 * @return string|false
21 21
 	 */
22 22
 	public static function findRecordNumber($value, $moduleName)
23 23
 	{
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	/**
37 37
 	 * Find crm id by email.
38 38
 	 *
39
-	 * @param string|int $value
39
+	 * @param string $value
40 40
 	 * @param array      $allowedModules
41 41
 	 * @param array      $skipModules
42 42
 	 *
Please login to merge, or discard this patch.
app/Fields/Picklist.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
 	 * Get colors for all fields or generate it if not exists.
274 274
 	 *
275
+	 * @param string $fieldName
275 276
 	 * @return array [$id=>'#FF00FF']
276 277
 	 */
277 278
 	public static function getColors($fieldName)
Please login to merge, or discard this patch.
app/Fields/Tree.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 	 * @param int    $templateId
41 41
 	 * @param string $tree
42 42
 	 *
43
-	 * @return array[]
43
+	 * @return string
44 44
 	 */
45 45
 	public static function getValueByTreeId($templateId, $tree)
46 46
 	{
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * @param string $moduleName
88 88
 	 * @param string $treeId
89 89
 	 *
90
-	 * @return string[]
90
+	 * @return string
91 91
 	 */
92 92
 	public static function getPicklistValueImage($templateId, $moduleName, $treeId)
93 93
 	{
Please login to merge, or discard this patch.
app/Integrations/Pbx.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * Get default pbx instance.
84 84
 	 *
85
-	 * @return \self
85
+	 * @return Pbx
86 86
 	 */
87 87
 	public static function getDefaultInstance()
88 88
 	{
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 	 *
130 130
 	 * @param string $key
131 131
 	 *
132
-	 * @return mixed Value for the given key
132
+	 * @return string Value for the given key
133 133
 	 */
134 134
 	public function getConfig($key)
135 135
 	{
Please login to merge, or discard this patch.
app/PrivilegeFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	/**
54 54
 	 * Creates a file with all the user, user-role,user-profile, user-groups informations.
55 55
 	 *
56
-	 * @param $userId -- user id:: Type integer
56
+	 * @param integer $userId -- user id:: Type integer
57 57
 	 */
58 58
 	public static function createUserPrivilegesFile($userId)
59 59
 	{
Please login to merge, or discard this patch.