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