Completed
Pull Request — developer (#9458)
by Sławomir
628:13 queued 615:14
created
modules/CustomView/models/Record.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @param string $moduleName
65 65
 	 *
66
-	 * @return Vtiger_Record_Model or Module Specific Record Model instance
66
+	 * @return CustomView_Record_Model or Module Specific Record Model instance
67 67
 	 */
68 68
 	public function setModule($moduleName)
69 69
 	{
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 *
78 78
 	 * @param Vtiger_Module_Model $module
79 79
 	 *
80
-	 * @return Vtiger_Record_Model or Module Specific Record Model instance
80
+	 * @return CustomView_Record_Model or Module Specific Record Model instance
81 81
 	 */
82 82
 	public function setModuleFromInstance($module)
83 83
 	{
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -630,7 +630,7 @@
 block discarded – undo
630 630
 		->innerJoin('vtiger_customview', 'vtiger_cvcolumnlist.cvid = vtiger_customview.cvid')
631 631
 		->where(['vtiger_customview.cvid' => $cvId])->orderBy('vtiger_cvcolumnlist.columnindex')
632 632
 		->createCommand()->queryAllByGroup(1);
633
-		return array_map(function ($item) {
633
+		return array_map(function($item) {
634 634
 			return "{$item['module_name']}:{$item['field_name']}" . ($item['source_field_name'] ? ":{$item['source_field_name']}" : '');
635 635
 		}, $selectedFields);
636 636
 	}
Please login to merge, or discard this patch.
modules/Documents/models/Record.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 	/**
169 169
 	 * The function decide about mandatory save record.
170 170
 	 *
171
-	 * @return type
171
+	 * @return boolean
172 172
 	 */
173 173
 	public function isMandatorySave()
174 174
 	{
Please login to merge, or discard this patch.
modules/Faq/models/Record.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
 	 * Function to get Instance of Faq Record Model using TroubleTicket RecordModel.
16 16
 	 *
17 17
 	 * @param  HelpDesk_Record_Model
18
+	 * @param Vtiger_Record_Model $parentRecordModel
18 19
 	 *
19 20
 	 * @return Faq_Record_Model
20 21
 	 */
Please login to merge, or discard this patch.
modules/Import/models/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 	/**
133 133
 	 * Function returns list of templates to import.
134 134
 	 *
135
-	 * @param type $moduleName
135
+	 * @param string $moduleName
136 136
 	 *
137 137
 	 * @return array
138 138
 	 */
Please login to merge, or discard this patch.
modules/Import/readers/FileReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
 	 *
162 162
 	 * @param array $data
163 163
 	 *
164
-	 * @return int
164
+	 * @return string
165 165
 	 */
166 166
 	public function addRecordToDB($data)
167 167
 	{
Please login to merge, or discard this patch.
modules/IStorages/IStorages.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,6 +185,7 @@  discard block
 block discarded – undo
185 185
 	 * @param int   $id              - istorageid
186 186
 	 * @param array $parentIStorages - Array of all the parent storages
187 187
 	 *                               returns All the parent Storages of the given istorageid in array format
188
+	 * @param integer[] $encounteredIStorages
188 189
 	 */
189 190
 	public function getParentIStorages($id, &$parentIStorages, &$encounteredIStorages, $depthBase = 0)
190 191
 	{
@@ -252,7 +253,7 @@  discard block
 block discarded – undo
252 253
 	 *
253 254
 	 * @param int   $id             - istorageid
254 255
 	 * @param array $childIStorages - Array of all the child storages
255
-	 * @param int   $depth          - Depth at which the particular storage has to be placed in the hierarchy
256
+	 * @param int   $depthBase          - Depth at which the particular storage has to be placed in the hierarchy
256 257
 	 *                              returns All the child storages of the given istorageid in array format
257 258
 	 */
258 259
 	public function getChildIStorages($id, &$childIStorages, $depthBase)
Please login to merge, or discard this patch.
modules/KnowledgeBase/models/Tree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 	 *
135 135
 	 * @param KnowledgeBase_Module_Model $moduleModel
136 136
 	 *
137
-	 * @return \self
137
+	 * @return KnowledgeBase_Tree_Model
138 138
 	 */
139 139
 	public static function getInstance($moduleModel)
140 140
 	{
Please login to merge, or discard this patch.
modules/MultiCompany/MultiCompany.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -183,6 +183,7 @@
 block discarded – undo
183 183
 	 * @param int   $id     - multicompanyid
184 184
 	 * @param array $parent - Array of all the parent sales
185 185
 	 *                      returns All the parent  f the given multicompanyid in array format
186
+	 * @param integer[] $encountered
186 187
 	 * @YTTODO to rebuild
187 188
 	 */
188 189
 	public function getParent($id, &$parent, &$encountered, $depthBase = 0)
Please login to merge, or discard this patch.
modules/Notification/cron/Notifications.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -88,9 +88,6 @@
 block discarded – undo
88 88
 	/**
89 89
 	 * Function get date.
90 90
 	 *
91
-	 * @param string $currentTime
92
-	 * @param string $timestampEndDate
93
-	 * @param int    $frequency
94 91
 	 */
95 92
 	public function markAsRead()
96 93
 	{
Please login to merge, or discard this patch.