mirror of
https://github.com/flarum/core.git
synced 2025-10-26 21:21:28 +01:00
Fix coding standards to conform to PSR-2
This commit is contained in:
@@ -3,18 +3,19 @@
|
||||
use Illuminate\Database\Seeder;
|
||||
use Flarum\Core\Models\Permission;
|
||||
|
||||
class PermissionsTableSeeder extends Seeder {
|
||||
class PermissionsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Permission::truncate();
|
||||
|
||||
$permissions = [
|
||||
$permissions = [
|
||||
|
||||
// Guests can view the forum
|
||||
[2, 'forum.view'],
|
||||
@@ -38,6 +39,5 @@ class PermissionsTableSeeder extends Seeder {
|
||||
];
|
||||
}
|
||||
Permission::insert($permissions);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user