Skip to content

Commit 0216f6f

Browse files
iamsyhpaulbalandan
andauthored
Update src/Config/AuthGroups.php
Co-authored-by: John Paul E. Balandan, CPA <paulbalandan@gmail.com>
1 parent ff3a495 commit 0216f6f

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/Config/AuthGroups.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ class AuthGroups extends BaseConfig
2020
* --------------------------------------------------------------------
2121
* Groups
2222
* --------------------------------------------------------------------
23-
* The available groups in the system.
24-
* Where the key is the group name, and the values are an
25-
* array of the group info.
26-
* Whatever value you assign as the key, will be used to refer to the group when using functions such as:
27-
* $user->addGroup('superadmin')
28-
* ref: https://github.com/codeigniter4/shield/blob/develop/docs/quickstart.md#change-available-groups for more info
23+
* An associative array of the available groups in the system, where the keys are
24+
* the group names and the values are arrays of the group info.
25+
*
26+
* Whatever value you assign as the key will be used to refer to the group when using functions such as:
27+
* $user->addGroup('superadmin');
28+
*
29+
* @var array<string, array<string, string>>
30+
* @see https://github.com/codeigniter4/shield/blob/develop/docs/quickstart.md#change-available-groups for more info
2931
*/
3032
public array $groups = [
3133
'superadmin' => [

0 commit comments

Comments
 (0)