1
0
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:
Franz Liedke
2015-05-19 01:03:12 +02:00
parent 6b4c27a944
commit 7885c9a002
22 changed files with 239 additions and 242 deletions

View File

@@ -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);
}
}
}