Skip to content

Commit

Permalink
Code formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
alimranahmed committed Jun 22, 2024
1 parent d3f7b1b commit 9e9c54f
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 12 deletions.
1 change: 0 additions & 1 deletion app/Livewire/Backend/Article/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Illuminate\Contracts\View\View;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Facades\Auth;
use Livewire\Attributes\On;
use Livewire\Attributes\Url;
use Livewire\Component;

Expand Down
1 change: 0 additions & 1 deletion app/Livewire/Backend/User/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Models\User;
use Illuminate\Contracts\View\View;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Arr;
use Livewire\Component;
use Spatie\Permission\Models\Role;
Expand Down
1 change: 1 addition & 0 deletions app/Livewire/Frontend/Article/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Mail;
use Livewire\Component;

use function route;
use function view;

Expand Down
1 change: 1 addition & 0 deletions app/Livewire/Frontend/ContactForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Mail;
use Livewire\Component;

use function route;
use function view;

Expand Down
2 changes: 1 addition & 1 deletion app/Models/Article.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/
class Article extends Model
{
use HasFactory;
use CanFormatDates;
use HasFactory;

protected $guarded = ['id'];

Expand Down
2 changes: 1 addition & 1 deletion app/Models/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

class Category extends Model
{
use HasFactory;
use CanFormatDates;
use HasFactory;

protected $guarded = ['id'];

Expand Down
2 changes: 1 addition & 1 deletion app/Models/Comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

class Comment extends Model
{
use HasFactory;
use CanFormatDates;
use HasFactory;

protected $guarded = ['id'];

Expand Down
2 changes: 1 addition & 1 deletion app/Models/Keyword.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
*/
class Keyword extends Model
{
use HasFactory;
use CanFormatDates;
use HasFactory;

protected $guarded = ['id'];

Expand Down
2 changes: 1 addition & 1 deletion app/Models/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

class Subscriber extends Model
{
use HasFactory;
use CanFormatDates;
use HasFactory;

protected $guarded = ['id'];
}
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
*/
class User extends Authenticatable
{
use CanFormatDates;
use HasFactory;
use HasRoles;
use Notifiable;
use CanFormatDates;

protected $casts = [
'email_verified_at' => 'datetime',
Expand Down
4 changes: 1 addition & 3 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,5 @@ public function boot(): void
/**
* Register any application services.
*/
public function register(): void
{
}
public function register(): void {}
}
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

abstract class TestCase extends BaseTestCase
{
use DatabaseTransactions;
use CreatesApplication;
use DatabaseTransactions;
}

0 comments on commit 9e9c54f

Please sign in to comment.