@@ -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)); |
@@ -237,7 +237,7 @@ |
||
237 | 237 | /** |
238 | 238 | * Function to get mapping supported modules list. |
239 | 239 | * |
240 | - * @return array |
|
240 | + * @return string[] |
|
241 | 241 | */ |
242 | 242 | public static function getSupportedModulesList() |
243 | 243 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * Funtion to get the Login history basic query. |
12 | 12 | * |
13 | - * @return type |
|
13 | + * @return App\Db\Query |
|
14 | 14 | */ |
15 | 15 | public function getBasicListQuery() |
16 | 16 | { |
@@ -186,7 +186,7 @@ |
||
186 | 186 | /** |
187 | 187 | * Function to get the clean instance. |
188 | 188 | * |
189 | - * @return \self |
|
189 | + * @return Settings_MailSmtp_Record_Model |
|
190 | 190 | */ |
191 | 191 | public static function getCleanInstance() |
192 | 192 | { |