Skip to content

Commit 42ab58f

Browse files
committed
feat: update role.php
1 parent 17a0081 commit 42ab58f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/php/src/Permission.php.twig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ class Permission
66
{
77
public static function read(string $role): string
88
{
9-
return "read('$role')";
9+
return "read("$role")";
1010
}
1111
public static function write(string $role): string
1212
{
13-
return "write('$role')";
13+
return "write("$role")";
1414
}
1515
public static function create(string $role): string
1616
{
17-
return "create('$role')";
17+
return "create("$role")";
1818
}
1919
public static function update(string $role): string
2020
{
21-
return "update('$role')";
21+
return "update("$role")";
2222
}
2323
public static function delete(string $role): string
2424
{
25-
return "delete('$role')";
25+
return "delete("$role")";
2626
}
2727
}

0 commit comments

Comments
 (0)