Completed
Pull Request — developer (#8881)
by Sławomir
178:12 queued 163:40
created
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.
modules/SMSNotifier/actions/MassSaveAjax.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 			$numberSelected = false;
48 48
 			foreach ($phoneFieldList as $fieldName) {
49 49
 				if (!empty($row[$fieldName])) {
50
-					$toNumbers[] = preg_replace_callback('/[^\d]/s', function ($m) {
50
+					$toNumbers[] = preg_replace_callback('/[^\d]/s', function($m) {
51 51
 						return '';
52 52
 					}, $row[$fieldName]);
53 53
 					$numberSelected = true;
Please login to merge, or discard this patch.
modules/Settings/CurrencyUpdate/bankmodels/NBR.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 			if ($time['date'] == $dateParam) {
119 119
 				$num = count($time->Rate);
120 120
 				for ($i = 0; $i < $num; ++$i) {
121
-					$currency = (string) $time->Rate[$i]['currency'];   // currency code
121
+					$currency = (string) $time->Rate[$i]['currency']; // currency code
122 122
 					foreach ($otherCurrencyCode as $key => $currId) {
123 123
 						if ($key == $currency && $currency != $mainCurrency) {
124 124
 							$exchange = $time->Rate[$i];
Please login to merge, or discard this patch.
modules/Settings/CurrencyUpdate/bankmodels/ECB.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 			if ($time['time'] == $dateParam) {
125 125
 				$num = count($time->Cube);
126 126
 				for ($i = 0; $i < $num; ++$i) {
127
-					$currency = (string) $time->Cube[$i]['currency'];   // currency code
127
+					$currency = (string) $time->Cube[$i]['currency']; // currency code
128 128
 					foreach ($otherCurrencyCode as $key => $currId) {
129 129
 						if ($key == $currency && $currency != $mainCurrency) {
130 130
 							$exchange = $time->Cube[$i]['rate'];
Please login to merge, or discard this patch.
modules/Notification/textparsers/Notifications.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
 				$html .= "<hr><strong>$type</strong><ul>";
35 35
 				foreach ($entries[$typeId] as $notification) {
36 36
 					$title = preg_replace_callback(
37
-						$pattern, function ($matches) {
37
+						$pattern, function($matches) {
38 38
 							return \AppConfig::main('site_URL') . $matches[0];
39 39
 						}, $notification->getTitle());
40 40
 					$massage = preg_replace_callback(
41
-						$pattern, function ($matches) {
41
+						$pattern, function($matches) {
42 42
 							return \AppConfig::main('site_URL') . $matches[0];
43 43
 						}, $notification->getMessage());
44 44
 					$html .= "<li>$title<br />$massage</li>";
Please login to merge, or discard this patch.
modules/Competition/models/ListView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 	 *
17 17
 	 * @param array $linkParams
18 18
 	 *
19
-	 * @return array - Associative array of Link type to List of  Vtiger_Link_Model instances for Mass Actions
19
+	 * @return Vtiger_Link_Model[] - Associative array of Link type to List of  Vtiger_Link_Model instances for Mass Actions
20 20
 	 */
21 21
 	public function getListViewMassActions($linkParams)
22 22
 	{
Please login to merge, or discard this patch.