Skip to content

Commit

Permalink
Merge pull request #150 from Jehizkia/main
Browse files Browse the repository at this point in the history
Fixed typo in ShieldSeeder.stub
  • Loading branch information
bezhanSalleh authored Jan 9, 2023
2 parents 9af2d45 + d0b5e8a commit 72e715d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/ShieldSeeder.stub
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ class ShieldSeeder extends Seeder
$rolesWithPermissions = '{{ RolePermissions }}';
$directPermissions = '{{ DirectPermissions }}';

static::makeRolesWithPemrissions($rolesWithPermissions);
static::makeRolesWithPermissions($rolesWithPermissions);
static::makeDirectPermissions($directPermissions);

$this->command->info('Shield Seeding Completed.');
}

protected static function makeRolesWithPemrissions(string $rolesWithPermissions): void
protected static function makeRolesWithPermissions(string $rolesWithPermissions): void
{
if (! blank($rolePlusPermissions = json_decode($rolesWithPermissions,true))) {

Expand Down

0 comments on commit 72e715d

Please sign in to comment.