Completed
Pull Request — developer (#8158)
by Sławomir
15:00
created
modules/Accounts/Accounts.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,6 +212,7 @@  discard block
 block discarded – undo
212 212
 	 * @param int   $id             - accountid
213 213
 	 * @param array $parentAccounts - Array of all the parent accounts
214 214
 	 *                              returns All the parent accounts of the given accountid in array format
215
+	 * @param integer[] $encounteredAccounts
215 216
 	 */
216 217
 	public function __getParentAccounts($id, &$parentAccounts, &$encounteredAccounts, $depthBase = 0)
217 218
 	{
@@ -266,7 +267,7 @@  discard block
 block discarded – undo
266 267
 	 *
267 268
 	 * @param int   $id            - accountid
268 269
 	 * @param array $childAccounts - Array of all the child accounts
269
-	 * @param int   $depth         - Depth at which the particular account has to be placed in the hierarchy
270
+	 * @param int   $depthBase         - Depth at which the particular account has to be placed in the hierarchy
270 271
 	 *                             returns All the child accounts of the given accountid in array format
271 272
 	 */
272 273
 	public function __getChildAccounts($id, &$childAccounts, $depthBase)
Please login to merge, or discard this patch.
modules/OSSEmployees/OSSEmployees.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@  discard block
 block discarded – undo
152 152
 		return $hierarchy;
153 153
 	}
154 154
 
155
+	/**
156
+	 * @param integer $id
157
+	 * @param integer[] $encounteredAccounts
158
+	 */
155 159
 	public function __getParentEmployees($id, &$parentAccounts, &$encounteredAccounts)
156 160
 	{
157 161
 		\App\Log::trace('Entering __getParentEmployees(' . $id . ',' . $parentAccounts . ') method ...');
@@ -193,6 +197,9 @@  discard block
 block discarded – undo
193 197
 		return $parentAccounts;
194 198
 	}
195 199
 
200
+	/**
201
+	 * @param integer $id
202
+	 */
196 203
 	public function __getChildEmployees($id, &$childAccounts, $depth)
197 204
 	{
198 205
 		\App\Log::trace('Entering __getChildEmployees(' . $id . ',' . $childAccounts . ',' . $depth . ') method ...');
Please login to merge, or discard this patch.