I really need to stop trying to override PHP reserved keywords...

This commit is contained in:
Dane Everitt 2017-04-28 10:19:04 -04:00
parent 1c37a8fe1a
commit 7eb7377dd5
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 8 additions and 8 deletions

View file

@ -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) {