I really need to stop trying to override PHP reserved keywords...
This commit is contained in:
parent
1c37a8fe1a
commit
7eb7377dd5
6 changed files with 8 additions and 8 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue