Passed
Push — developer ( c9d396...8e0a17 )
by Błażej
90:59 queued 76:12
created
app/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	/**
71 71
 	 * Get all js configuratin in json.
72 72
 	 *
73
-	 * @return type
73
+	 * @return string
74 74
 	 */
75 75
 	public static function getJsEnv()
76 76
 	{
Please login to merge, or discard this patch.
app/Debuger.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	/**
29 29
 	 * Initiating debugging console.
30 30
 	 *
31
-	 * @return \App\DebugBar\Debuger
31
+	 * @return DebugBar\DebugBar
32 32
 	 */
33 33
 	public static function initConsole()
34 34
 	{
@@ -75,6 +75,10 @@  discard block
 block discarded – undo
75 75
 		return isset(static::$debugBar);
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param string $level
80
+	 * @param string $traces
81
+	 */
78 82
 	public static function addLogs($message, $level, $traces)
79 83
 	{
80 84
 		if (isset(static::$debugBar['logs'])) {
Please login to merge, or discard this patch.
app/Fields/File.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 	 *
102 102
 	 * @param array $fileInfo
103 103
 	 *
104
-	 * @return \self
104
+	 * @return File
105 105
 	 */
106 106
 	public static function loadFromInfo($fileInfo)
107 107
 	{
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 	 *
119 119
 	 * @param array $file
120 120
 	 *
121
-	 * @return \self
121
+	 * @return File
122 122
 	 */
123 123
 	public static function loadFromRequest($file)
124 124
 	{
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 	 *
137 137
 	 * @param array $path
138 138
 	 *
139
-	 * @return \self
139
+	 * @return File
140 140
 	 */
141 141
 	public static function loadFromPath($path)
142 142
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1030,7 +1030,7 @@
 block discarded – undo
1030 1030
 	 */
1031 1031
 	public static function parse(array $value)
1032 1032
 	{
1033
-		return array_reduce($value, function ($result, $item) {
1033
+		return array_reduce($value, function($result, $item) {
1034 1034
 			$result[$item['key']] = $item;
1035 1035
 			return $result;
1036 1036
 		}, []);
Please login to merge, or discard this patch.
app/Layout.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 *
99 99
 	 * @param string $imageName
100 100
 	 *
101
-	 * @return array
101
+	 * @return string|false
102 102
 	 */
103 103
 	public static function getImagePath($imageName)
104 104
 	{
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	 * @param string $templateName
112 112
 	 * @param string $moduleName
113 113
 	 *
114
-	 * @return array
114
+	 * @return string
115 115
 	 */
116 116
 	public static function getTemplatePath($templateName, $moduleName = '')
117 117
 	{
Please login to merge, or discard this patch.
app/CustomView.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
 	{
473 473
 		$comparator = $relCriteriaRow['comparator'];
474 474
 		$advFilterVal = html_entity_decode($relCriteriaRow['value'], ENT_QUOTES, \AppConfig::main('default_charset'));
475
-		list($tableName, $columnName, $fieldName, , $fieldType) = explode(':', $relCriteriaRow['columnname']);
475
+		list($tableName, $columnName, $fieldName,, $fieldType) = explode(':', $relCriteriaRow['columnname']);
476 476
 		if (strpos($advFilterVal, ',') !== false && in_array($this->module->getFieldByName($fieldName)->getFieldDataType(), ['picklist', 'multipicklist', 'sharedOwner', 'owner', 'userCreator', 'multiReferenceValue', 'tree', 'taxes', 'modules', 'country', 'companySelect', 'categoryMultipicklist'])) {
477 477
 			$advFilterVal = str_replace(',', '##', $advFilterVal);
478 478
 		}
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 	 * Static Function to get the Instance of CustomView.
270 270
 	 *
271 271
 	 * @param string $moduleName
272
-	 * @param mixed  $userModelOrId
272
+	 * @param User  $userModelOrId
273 273
 	 *
274 274
 	 * @return \self
275 275
 	 */
@@ -648,7 +648,7 @@  discard block
 block discarded – undo
648 648
 	/**
649 649
 	 * Get default cvId.
650 650
 	 *
651
-	 * @return int|string
651
+	 * @return integer
652 652
 	 */
653 653
 	public function getDefaultCvId()
654 654
 	{
Please login to merge, or discard this patch.
app/Log/Profiling.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 		$timings = [];
37 37
 		$stack = [];
38 38
 		foreach ($this->messages as $i => $log) {
39
-			list($token, $level, , $timestamp) = $log;
39
+			list($token, $level,, $timestamp) = $log;
40 40
 			$log[5] = $i;
41 41
 			if ($level == Logger::LEVEL_PROFILE_BEGIN) {
42 42
 				$stack[] = $log;
Please login to merge, or discard this patch.
modules/Settings/SharingAccess/models/Rule.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 	/**
264 264
 	 * Function to get the detailViewUrl for the rule member in Sharing Access Custom Rules.
265 265
 	 *
266
-	 * @return DetailViewUrl
266
+	 * @return string|null
267 267
 	 */
268 268
 	public function getSourceDetailViewUrl()
269 269
 	{
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 	/**
282 282
 	 * Function to get the detailViewUrl for the rule member in Sharing Access Custom Rules.
283 283
 	 *
284
-	 * @return DetailViewUrl
284
+	 * @return string|null
285 285
 	 */
286 286
 	public function getTargetDetailViewUrl()
287 287
 	{
@@ -420,6 +420,7 @@  discard block
 block discarded – undo
420 420
 	/**
421 421
 	 * Function to get all the rules.
422 422
 	 *
423
+	 * @param integer $ruleId
423 424
 	 * @return array - Array of Settings_Groups_Record_Model instances
424 425
 	 */
425 426
 	public static function getInstance($moduleModel, $ruleId)
Please login to merge, or discard this patch.
modules/Settings/LangManagement/models/Module.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	 *
216 216
 	 * @param string $dir
217 217
 	 *
218
-	 * @return bool
218
+	 * @return false|null
219 219
 	 */
220 220
 	public static function deleteDir($dir)
221 221
 	{
@@ -297,6 +297,9 @@  discard block
 block discarded – undo
297 297
 		return $data;
298 298
 	}
299 299
 
300
+	/**
301
+	 * @param boolean $byModule
302
+	 */
300 303
 	public function getStats($data, $langBase, $byModule)
301 304
 	{
302 305
 		$differences = [];
Please login to merge, or discard this patch.
modules/Vtiger/models/MiniList.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
 	 */
26 26
 	protected $searchParams = [];
27 27
 
28
+	/**
29
+	 * @param Vtiger_Widget_Model $widgetModel
30
+	 */
28 31
 	public function setWidgetModel($widgetModel)
29 32
 	{
30 33
 		$this->widgetModel = $widgetModel;
@@ -54,6 +57,9 @@  discard block
 block discarded – undo
54 57
 		return $this->extraData['module'];
55 58
 	}
56 59
 
60
+	/**
61
+	 * @return string[]
62
+	 */
57 63
 	public function getTargetFields()
58 64
 	{
59 65
 		$fields = $this->extraData['fields'];
Please login to merge, or discard this patch.