Passed
Push — developer ( c9d396...8e0a17 )
by Błażej
90:59 queued 76:12
created
api/webservice/Portal/Users/Logout.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 	/**
27 27
 	 * Put method.
28 28
 	 *
29
-	 * @return array
29
+	 * @return boolean
30 30
 	 */
31 31
 	public function put()
32 32
 	{
Please login to merge, or discard this patch.
include/fields/DateTimeField.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,6 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	 * @param Users $user
65 64
 	 *
66 65
 	 * @return string
67 66
 	 */
@@ -156,7 +155,6 @@  discard block
 block discarded – undo
156 155
 
157 156
 	/**
158 157
 	 * @param string $date
159
-	 * @param Users  $user
160 158
 	 *
161 159
 	 * @return string
162 160
 	 */
@@ -346,6 +344,9 @@  discard block
 block discarded – undo
346 344
 		return $time;
347 345
 	}
348 346
 
347
+	/**
348
+	 * @param string $value
349
+	 */
349 350
 	private static function sanitizeDate($value, $user)
350 351
 	{
351 352
 		if (empty($user)) {
Please login to merge, or discard this patch.
include/fields/DateTimeRange.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 	 * @param int      $month
274 274
 	 * @param DateTime $dateObject
275 275
 	 *
276
-	 * @return date range of present quarter
276
+	 * @return string[] range of present quarter
277 277
 	 */
278 278
 	public static function getPresentQuarterRange($month = 0, &$dateObject = null)
279 279
 	{
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
 	 * @param int      $month
309 309
 	 * @param DateTime $dateObject
310 310
 	 *
311
-	 * @return date range of present quarter
311
+	 * @return string[] range of present quarter
312 312
 	 */
313 313
 	public static function getPreviousQuarterRange($month = 0, &$dateObject = null)
314 314
 	{
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 	 * @param int      $month
345 345
 	 * @param DateTime $dateObject
346 346
 	 *
347
-	 * @return date range of present quarter
347
+	 * @return string[] range of present quarter
348 348
 	 */
349 349
 	public static function getNextQuarterRange($month = 0, $dateObject = null)
350 350
 	{
Please login to merge, or discard this patch.
include/http/Response.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@  discard block
 block discarded – undo
58 58
 
59 59
 	/**
60 60
 	 * Set headers to send.
61
+	 * @param string $header
61 62
 	 */
62 63
 	public function setHeader($header)
63 64
 	{
@@ -78,6 +79,7 @@  discard block
 block discarded – undo
78 79
 
79 80
 	/**
80 81
 	 * Set emit type.
82
+	 * @param integer $type
81 83
 	 */
82 84
 	public function setEmitType($type)
83 85
 	{
Please login to merge, or discard this patch.
include/main/WebUI.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	/**
67 67
 	 * Function to get the instance of the logged in User.
68 68
 	 *
69
-	 * @return Users object
69
+	 * @return boolean object
70 70
 	 */
71 71
 	public function getLogin()
72 72
 	{
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 	 * @param \App\Controller\Base $handler
248 248
 	 * @param \App\Request         $request
249 249
 	 *
250
-	 * @return bool
250
+	 * @return boolean|null
251 251
 	 */
252 252
 	protected function triggerPreProcess(\App\Controller\Base $handler, \App\Request $request)
253 253
 	{
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 	 * @param \App\Controller\Base $handler
266 266
 	 * @param \App\Request         $request
267 267
 	 *
268
-	 * @return bool
268
+	 * @return boolean|null
269 269
 	 */
270 270
 	protected function triggerPostProcess(\App\Controller\Base $handler, \App\Request $request)
271 271
 	{
Please login to merge, or discard this patch.
include/runtime/cache/Connectors.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -10,11 +10,17 @@
 block discarded – undo
10 10
 
11 11
 class Vtiger_Cache_Connector_Memory
12 12
 {
13
+	/**
14
+	 * @param string $key
15
+	 */
13 16
 	public function set($key, $value)
14 17
 	{
15 18
 		$this->$key = $value;
16 19
 	}
17 20
 
21
+	/**
22
+	 * @param string $key
23
+	 */
18 24
 	public function get($key)
19 25
 	{
20 26
 		return $this->$key ?? false;
Please login to merge, or discard this patch.
include/runtime/Viewer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	/**
23 23
 	 * log message into the file if in debug mode.
24 24
 	 *
25
-	 * @param type $message
25
+	 * @param string $message
26 26
 	 * @param type $delimiter
27 27
 	 */
28 28
 	protected function log($message, $delimiter = '\n')
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 * @param string $moduleName
166 166
 	 * @param bool   $fetch
167 167
 	 *
168
-	 * @return html data
168
+	 * @return string|boolean data
169 169
 	 */
170 170
 	public function view($templateName, $moduleName = '', $fetch = false)
171 171
 	{
Please login to merge, or discard this patch.
include/utils/VtlibUtils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	 * The function gets the value of the module.
32 32
 	 *
33 33
 	 * @param string $module
34
-	 * @param array  $varname
34
+	 * @param string  $varname
35 35
 	 *
36 36
 	 * @return array
37 37
 	 */
Please login to merge, or discard this patch.
include/Webservices/ConvertLead.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,12 +136,12 @@
 block discarded – undo
136 136
 	 * Populate the entity fields with the lead info.
137 137
 	 * If mandatory field is not provided populate with '????'.
138 138
 	 *
139
-	 * @param array               $entityvalue
139
+	 * @param string               $entityvalue
140 140
 	 * @param string              $entity
141 141
 	 * @param Vtiger_Record_Model $recordModel
142 142
 	 * @param string              $leadinfo
143 143
 	 *
144
-	 * @return entity array
144
+	 * @return string array
145 145
 	 */
146 146
 	public static function vtwsPopulateConvertLeadEntities($entityvalue, $entity, Vtiger_Record_Model $recordModel, $leadinfo)
147 147
 	{
Please login to merge, or discard this patch.