Completed
Pull Request — developer (#8877)
by Sławomir
316:39 queued 301:22
created
modules/Vtiger/models/Watchdog.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -116,6 +116,7 @@
 block discarded – undo
116 116
 	/**
117 117
 	 * Function verifies if module is watching in database.
118 118
 	 *
119
+	 * @param string $member
119 120
 	 * @return bool
120 121
 	 */
121 122
 	public function isWatchingModuleConfig($member)
Please login to merge, or discard this patch.
modules/Vtiger/uitypes/Date.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@
 block discarded – undo
44 44
 
45 45
 	/**
46 46
 	 * {@inheritdoc}
47
+	 * @param string $value
47 48
 	 */
48 49
 	public function getDisplayValue($value, $record = false, $recordModel = false, $rawText = false, $length = false)
49 50
 	{
Please login to merge, or discard this patch.
modules/Vtiger/uitypes/Multiowner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	 *
75 75
 	 * @param int $id userId/GroupId
76 76
 	 *
77
-	 * @return string User/Group
77
+	 * @return boolean User/Group
78 78
 	 */
79 79
 	public static function getOwnerType($id)
80 80
 	{
Please login to merge, or discard this patch.
modules/Vtiger/uitypes/MultiReferenceValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
 	 * @param int       $sourceRecord
154 154
 	 * @param int       $destRecord
155 155
 	 *
156
-	 * @return array
156
+	 * @return string
157 157
 	 */
158 158
 	public function getRecordValues(CRMEntity $entity, $sourceRecord, $destRecord)
159 159
 	{
Please login to merge, or discard this patch.
modules/Vtiger/uitypes/Recurrence.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 	 * @param mixed               $value
80 80
 	 * @param Vtiger_Record_Model $recordModel
81 81
 	 *
82
-	 * @return mixed
82
+	 * @return string
83 83
 	 */
84 84
 	public function getEditViewDisplayValue($value, $recordModel = false)
85 85
 	{
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	 *
92 92
 	 * @param string $value
93 93
 	 *
94
-	 * @return array
94
+	 * @return string
95 95
 	 */
96 96
 	public static function getRecurringInfo($value)
97 97
 	{
Please login to merge, or discard this patch.
modules/Vtiger/views/AutoAssignRecord.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
 	 * @param \App\Request $request
72 72
 	 *
73
-	 * @return Vtiger_JsScript_Model[] - List of Vtiger_CssScript_Model instances
73
+	 * @return App\Controller\Vtiger_JsScript_Model[] - List of Vtiger_CssScript_Model instances
74 74
 	 */
75 75
 	public function getModalScripts(\App\Request $request)
76 76
 	{
Please login to merge, or discard this patch.
modules/Vtiger/views/RelatedList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	 *
38 38
 	 * @param \App\Request $request
39 39
 	 *
40
-	 * @return type
40
+	 * @return string|boolean
41 41
 	 */
42 42
 	public function process(\App\Request $request)
43 43
 	{
Please login to merge, or discard this patch.
modules/Vtiger/widgets/CountRecords.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
 		return 'CountRecordsConfig';
39 39
 	}
40 40
 
41
+	/**
42
+	 * @param integer $recordId
43
+	 */
41 44
 	public static function getCountRecords($modules, $recordId)
42 45
 	{
43 46
 		$countRecords = [];
Please login to merge, or discard this patch.
modules/SMSNotifier/workflow/VTSMSTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 			$recepients = explode(',', $recepient);
33 33
 			$toNumbers = [];
34 34
 			foreach ($recepients as $toNumber) {
35
-				$parseNumber = preg_replace_callback('/[^\d]/s', function ($m) {
35
+				$parseNumber = preg_replace_callback('/[^\d]/s', function($m) {
36 36
 					return '';
37 37
 				}, $toNumber);
38 38
 				if (!empty($parseNumber) && !in_array($parseNumber, $toNumbers)) {
Please login to merge, or discard this patch.