@@ -87,6 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * List of supported module fields. |
89 | 89 | * |
90 | + * @param string|boolean $moduleName |
|
90 | 91 | * @return array |
91 | 92 | */ |
92 | 93 | public static function getFieldsByModule($moduleName) |
@@ -347,7 +347,7 @@ |
||
347 | 347 | /** |
348 | 348 | * Function transforms Advance filter to workflow conditions. |
349 | 349 | * |
350 | - * @param array $condition |
|
350 | + * @param array $conditions |
|
351 | 351 | * |
352 | 352 | * @return array |
353 | 353 | */ |
@@ -182,7 +182,7 @@ |
||
182 | 182 | * |
183 | 183 | * @param string $ip - User IP |
184 | 184 | * |
185 | - * @return int - Created records ID |
|
185 | + * @return string - Created records ID |
|
186 | 186 | */ |
187 | 187 | private function setBlockedIp($ip) |
188 | 188 | { |
@@ -255,7 +255,6 @@ |
||
255 | 255 | /** |
256 | 256 | * Function to set companies not default. |
257 | 257 | * |
258 | - * @param string $name |
|
259 | 258 | */ |
260 | 259 | public function setCompaniesNotDefault($default) |
261 | 260 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Function to get editable fields from this module. |
21 | 21 | * |
22 | - * @return array List of fieldNames |
|
22 | + * @return string[] List of fieldNames |
|
23 | 23 | */ |
24 | 24 | public function getEditableFieldsList() |
25 | 25 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | /** |
127 | 127 | * Function to get object. |
128 | 128 | * |
129 | - * @return \self |
|
129 | + * @return Settings_Github_Client_Model |
|
130 | 130 | */ |
131 | 131 | public static function getInstance() |
132 | 132 | { |
@@ -78,11 +78,17 @@ discard block |
||
78 | 78 | return explode(':', $id); |
79 | 79 | } |
80 | 80 | |
81 | + /** |
|
82 | + * @param string $type |
|
83 | + */ |
|
81 | 84 | public static function getQualifiedId($type, $id) |
82 | 85 | { |
83 | 86 | return $type . ':' . $id; |
84 | 87 | } |
85 | 88 | |
89 | + /** |
|
90 | + * @param string $type |
|
91 | + */ |
|
86 | 92 | public static function getAllByTypeForGroup($groupModel, $type) |
87 | 93 | { |
88 | 94 | $query = new App\Db\Query(); |
@@ -179,6 +185,7 @@ discard block |
||
179 | 185 | /** |
180 | 186 | * Function to get all the groups. |
181 | 187 | * |
188 | + * @param Settings_Groups_Record_Model $groupModel |
|
182 | 189 | * @return <Array> - Array of Settings_Groups_Record_Model instances |
183 | 190 | */ |
184 | 191 | public static function getAllByGroup($groupModel) |
@@ -314,7 +314,7 @@ |
||
314 | 314 | /** |
315 | 315 | * TransferOwnership. |
316 | 316 | * |
317 | - * @param Settings_Groups_Record_Model|Users_Record_Model $transferToGroup |
|
317 | + * @param Settings_Groups_Record_Model $transferToGroup |
|
318 | 318 | */ |
319 | 319 | protected function transferOwnership($transferToGroup) |
320 | 320 | { |
@@ -28,6 +28,9 @@ |
||
28 | 28 | return static::$tablename[$type]; |
29 | 29 | } |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $type |
|
33 | + */ |
|
31 | 34 | public static function getConfig($type, $name = false) |
32 | 35 | { |
33 | 36 | \App\Log::trace('Start ' . __METHOD__ . ' | Type: ' . print_r($type, true) . ' | Name: ' . print_r($name, true)); |