mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-29 03:23:45 +02:00
I really need to stop trying to override PHP reserved keywords...
This commit is contained in:
@@ -121,7 +121,7 @@ class Permission extends Model
|
||||
* @param array $single
|
||||
* @return \Illuminate\Support\Collection|array
|
||||
*/
|
||||
public static function list($single = false)
|
||||
public static function listPermissions($single = false)
|
||||
{
|
||||
if ($single) {
|
||||
return collect(self::$permissions)->mapWithKeys(function ($item) {
|
||||
|
||||
Reference in New Issue
Block a user