Skip to content
This repository has been archived by the owner on Oct 6, 2021. It is now read-only.

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Sep 19, 2017
1 parent 5bc5b4c commit d1a3d2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/Models/Bungie.php
Expand Up @@ -113,7 +113,7 @@ public function isDonator()
return true;
}
}

return false;
}

Expand Down
2 changes: 1 addition & 1 deletion app/Providers/AuthServiceProvider.php
Expand Up @@ -25,7 +25,7 @@ public function boot()
{
$this->registerPolicies();

\Gate::define('hide-ads', function(Bungie $user) {
\Gate::define('hide-ads', function (Bungie $user) {
return $user->isDonator();
});
}
Expand Down
10 changes: 5 additions & 5 deletions database/migrations/2017_09_19_124554_addIconsToBadges.php
@@ -1,9 +1,9 @@
<?php

use App\Models\Badge;
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class AddIconsToBadges extends Migration
{
Expand All @@ -21,7 +21,7 @@ public function up()
$badges = [
[
'slug' => 'donator',
'icon' => 'heart'
'icon' => 'heart',
],
[
'slug' => 'confirmed',
Expand All @@ -33,8 +33,8 @@ public function up()
],
[
'slug' => 'veteran',
'icon' => 'bullseye'
]
'icon' => 'bullseye',
],
];

foreach ($badges as $badge) {
Expand Down

0 comments on commit d1a3d2e

Please sign in to comment.