Passed
Push — developer ( 8e0a17...d48f64 )
by Błażej
103:57 queued 89:38
created
modules/Calendar/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
 	/**
148 148
 	 * Function to get export query.
149 149
 	 *
150
-	 * @return string query;
150
+	 * @return App\Db\Query query;
151 151
 	 */
152 152
 	public function getExportQuery($focus = '', $where = '')
153 153
 	{
Please login to merge, or discard this patch.
modules/Chat/models/Module.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 	/**
13 13
 	 * Get chat entries.
14 14
 	 *
15
-	 * @param int|bool $time
16 15
 	 *
17 16
 	 * @return array
18 17
 	 */
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/expression_engine/VTExpressionEvaluater.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,10 +129,8 @@
 block discarded – undo
129 129
 	 * Calculate the time difference (input times) or (current time and input time) and
130 130
 	 * convert it into number of days.
131 131
 	 *
132
-	 * @param array $a $a[0] - Input time1, $a[1] - Input time2
133
-	 *                 (if $a[1] is not available $a[0] = Current Time, $a[1] = Input time1)
134 132
 	 *
135
-	 * @return int number of days
133
+	 * @return double number of days
136 134
 	 */
137 135
 	public static function __vt_time_diffdays($arr)
138 136
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/expression_engine/VTExpressionParser.php 1 patch
Doc Comments   +17 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,6 +10,9 @@  discard block
 block discarded – undo
10 10
 
11 11
 class VTExpressionParser
12 12
 {
13
+	/**
14
+	 * @param VTExpressionSpaceFilter $tokens
15
+	 */
13 16
 	public function __construct($tokens)
14 17
 	{
15 18
 		$this->tokens = $tokens;
@@ -42,6 +45,9 @@  discard block
 block discarded – undo
42 45
 		return $this->tokenQueue[$n - 1];
43 46
 	}
44 47
 
48
+	/**
49
+	 * @param string $label
50
+	 */
45 51
 	public function consume($label, $value)
46 52
 	{
47 53
 		$token = $this->nextToken();
@@ -51,6 +57,9 @@  discard block
 block discarded – undo
51 57
 		}
52 58
 	}
53 59
 
60
+	/**
61
+	 * @param string $sym
62
+	 */
54 63
 	public function consumeSymbol($sym)
55 64
 	{
56 65
 		$this->consume('SYMBOL', new VTExpressionSymbol($sym));
@@ -63,13 +72,17 @@  discard block
 block discarded – undo
63 72
 	 * @param string             $label
64 73
 	 * @param string             $value
65 74
 	 *
66
-	 * @return type
75
+	 * @return boolean
67 76
 	 */
68 77
 	public function check(\VTExpressionToken $token, $label, $value)
69 78
 	{
70 79
 		return $token->label == $label && $token->value == $value;
71 80
 	}
72 81
 
82
+	/**
83
+	 * @param VTExpressionTokenizer $token
84
+	 * @param string $sym
85
+	 */
73 86
 	public function checkSymbol($token, $sym)
74 87
 	{
75 88
 		return $this->check($token, 'SYMBOL', new VTExpressionSymbol($sym));
@@ -158,6 +171,9 @@  discard block
 block discarded – undo
158 171
 		return $this->binOpPrec(count($this->precedence) - 1);
159 172
 	}
160 173
 
174
+	/**
175
+	 * @param integer $prec
176
+	 */
161 177
 	private function binOpPrec($prec)
162 178
 	{
163 179
 		if ($prec >= 0) {
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/tasks/VTCreateEventTask.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
 		vtlib\Deprecated::relateEntities($recordModel->getEntity(), $moduleName, $recordModel->getId(), 'Calendar', $newRecordModel->getId());
103 103
 	}
104 104
 
105
+	/**
106
+	 * @param Vtiger_Record_Model $recordModel
107
+	 */
105 108
 	private function calculateDate($recordModel, $days, $direction, $datefield)
106 109
 	{
107 110
 		$baseDate = $recordModel->get($datefield);
@@ -124,7 +127,7 @@  discard block
 block discarded – undo
124 127
 	 *
125 128
 	 * @param type $timeStr
126 129
 	 *
127
-	 * @return time
130
+	 * @return string
128 131
 	 */
129 132
 	public static function convertToDBFormat($timeStr)
130 133
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/tasks/VTSendNotificationTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	/**
25 25
 	 * Get field names.
26 26
 	 *
27
-	 * @return array
27
+	 * @return string[]
28 28
 	 */
29 29
 	public function getFieldNames()
30 30
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/tasks/VTUpdateRelatedFieldTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	 * @param string[]            $relatedData
86 86
 	 * @param string              $fieldValue
87 87
 	 *
88
-	 * @return bool
88
+	 * @return false|null
89 89
 	 */
90 90
 	private function updateRecords($recordModel, $relatedData, $fieldValue)
91 91
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/VTTaskManager.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
 	 * Retrieve a task from the database.
84 84
 	 *
85
-	 * @param $taskId The id of the task to retrieve
85
+	 * @param integer $taskId The id of the task to retrieve
86 86
 	 *
87 87
 	 * @return VTTask The retrieved task
88 88
 	 */
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	/**
144 144
 	 * Return all tasks.
145 145
 	 *
146
-	 * @return array
146
+	 * @return VTTask[]
147 147
 	 */
148 148
 	public function getTasks()
149 149
 	{
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/VTTaskQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 	 * Queue a task for execution.
18 18
 	 *
19 19
 	 * @param $taskId The id of the task to queue
20
-	 * @param $entityId The id of the crm entity the task is assiciated with
20
+	 * @param integer $entityId The id of the crm entity the task is assiciated with
21 21
 	 * @param $when The time after which the task should be executed. This is
22 22
 	 *        an optional value with a default value of 0
23 23
 	 */
Please login to merge, or discard this patch.