File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6,22 +6,22 @@ class Permission
6
6
{
7
7
public static function read (string $role ): string
8
8
{
9
- return " read(' $role ' )" ;
9
+ return " read(" $role " )" ;
10
10
}
11
11
public static function write (string $role ): string
12
12
{
13
- return " write(' $role ' )" ;
13
+ return " write(" $role " )" ;
14
14
}
15
15
public static function create (string $role ): string
16
16
{
17
- return " create(' $role ' )" ;
17
+ return " create(" $role " )" ;
18
18
}
19
19
public static function update (string $role ): string
20
20
{
21
- return " update(' $role ' )" ;
21
+ return " update(" $role " )" ;
22
22
}
23
23
public static function delete (string $role ): string
24
24
{
25
- return " delete(' $role ' )" ;
25
+ return " delete(" $role " )" ;
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Role
16
16
{
17
17
return ' users' ;
18
18
}
19
- public static function guest (): string
19
+ public static function guests (): string
20
20
{
21
21
return ' guests' ;
22
22
}
You can’t perform that action at this time.
0 commit comments