@@ -29,9 +29,9 @@ |
||
| 29 | 29 | |
| 30 | 30 | $gate->before(function ($user, $ability) { |
| 31 | 31 | |
| 32 | - if (!$user->hasStatus(UserStatus::ACTIVE)) { |
|
| 33 | - return false; |
|
| 34 | - }; |
|
| 32 | + if (!$user->hasStatus(UserStatus::ACTIVE)) { |
|
| 33 | + return false; |
|
| 34 | + }; |
|
| 35 | 35 | |
| 36 | 36 | }); |
| 37 | 37 | |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use App\Models\Enums\TagType; |
| 6 | 6 | use App\Models\Tag; |
| 7 | 7 | use App\Models\Transformers\MediaTransformer; |
| 8 | -use App\Repositories\TagRepository; |
|
| 9 | 8 | use Carbon\Carbon; |
| 10 | 9 | use Illuminate\Html\FormBuilder as BaseFormBuilder; |
| 11 | 10 | use HTML; |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Get the app's current locale. |
|
| 4 | - */ |
|
| 3 | + * Get the app's current locale. |
|
| 4 | + */ |
|
| 5 | 5 | function locale() : string |
| 6 | 6 | { |
| 7 | 7 | return app()->getLocale(); |