Completed
Push — developer ( 8b9992...7ed20d )
by Błażej
38:47
created
vtlib/Vtiger/Utils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,8 @@  discard block
 block discarded – undo
133 133
 	 * @param string Optional suffix to add during table creation
134 134
 	 * <br />
135 135
 	 * will be appended to CREATE TABLE $tablename SQL
136
+	 * @param string $tablename
137
+	 * @param string $criteria
136 138
 	 */
137 139
 	public static function createTable($tablename, $criteria, $suffixTableMeta = false)
138 140
 	{
@@ -212,6 +214,7 @@  discard block
 block discarded – undo
212 214
 	 * Check if the given SQL is a CREATE statement.
213 215
 	 *
214 216
 	 * @param string SQL String
217
+	 * @param string $sql
215 218
 	 */
216 219
 	public static function isCreateSql($sql)
217 220
 	{
Please login to merge, or discard this patch.
vtlib/Vtiger/Utils/StringTemplate.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -112,6 +112,7 @@
 block discarded – undo
112 112
 
113 113
 	/**
114 114
 	 * Clean up the input to be used as a regex.
115
+	 * @param string $value
115 116
 	 */
116 117
 	public function __formatAsRegex($value)
117 118
 	{
Please login to merge, or discard this patch.
api/webservice/Core/Auth.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 {
14 14
 	protected static $realm = 'YetiForceApi';
15 15
 
16
+	/**
17
+	 * @param \Api\Controller $self
18
+	 */
16 19
 	public static function init($self)
17 20
 	{
18 21
 		$method = \AppConfig::api('AUTH_METHOD');
Please login to merge, or discard this patch.
api/webservice/Core/BaseAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 	 *
62 62
 	 * @throws \Api\Core\Exception
63 63
 	 *
64
-	 * @return bool
64
+	 * @return boolean|null
65 65
 	 */
66 66
 	public function checkPermission()
67 67
 	{
Please login to merge, or discard this patch.
api/webservice/Core/Exception.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
  */
12 12
 class Exception extends \Exception
13 13
 {
14
+	/**
15
+	 * @param string $message
16
+	 */
14 17
 	public function __construct($message, $code = 200, self $previous = null)
15 18
 	{
16 19
 		if (!empty($previous)) {
Please login to merge, or discard this patch.
api/webservice/Portal/BaseModule/Hierarchy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	 *
33 33
 	 * @throws \Api\Core\Exception
34 34
 	 *
35
-	 * @return bool
35
+	 * @return boolean|null
36 36
 	 */
37 37
 	public function checkPermission()
38 38
 	{
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 	 * @param int                 $parentId
85 85
 	 * @param string              $type
86 86
 	 *
87
-	 * @return bool
87
+	 * @return boolean|null
88 88
 	 */
89 89
 	public function getRecords(\App\QueryGenerator $mainQueryGenerator, $parentId, $type = 'child')
90 90
 	{
Please login to merge, or discard this patch.
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/CurrencyField.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 	 * @param \App\User $user
204 204
 	 * @param bool      $skipConversion
205 205
 	 *
206
-	 * @return Formatted Currency
206
+	 * @return string Currency
207 207
 	 */
208 208
 	public function getDisplayValueWithSymbol($user = null, $skipConversion = false)
209 209
 	{
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 * @param string $currencySymbol
220 220
 	 * @param string $currencySymbolPlacement
221 221
 	 *
222
-	 * @return Currency value appended with the currency symbol
222
+	 * @return string value appended with the currency symbol
223 223
 	 */
224 224
 	public static function appendCurrencySymbol($currencyValue, $currencySymbol, $currencySymbolPlacement = '')
225 225
 	{
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 	 *
242 242
 	 * @param Number $value
243 243
 	 *
244
-	 * @return Formatted Currency
244
+	 * @return string Currency
245 245
 	 */
246 246
 	private function formatCurrencyValue($value)
247 247
 	{
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
 	 * @param \App\User $user
439 439
 	 * @param bool      $skipConversion
440 440
 	 *
441
-	 * @return Number
441
+	 * @return string
442 442
 	 */
443 443
 	public static function convertToDBFormat($value, $user = null, $skipConversion = false)
444 444
 	{
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
 	/**
454 454
 	 * Function to get the default CRM currency.
455 455
 	 *
456
-	 * @return int Default system currency id
456
+	 * @return string|null Default system currency id
457 457
 	 */
458 458
 	public static function getDBCurrencyId()
459 459
 	{
@@ -465,6 +465,9 @@  discard block
 block discarded – undo
465 465
 		return null;
466 466
 	}
467 467
 
468
+	/**
469
+	 * @param double $amount
470
+	 */
468 471
 	public static function convertToDollar($amount, $conversionRate)
469 472
 	{
470 473
 		if ($conversionRate == 0) {
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.