Skip to content

Commit 25279c1

Browse files
ousidgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 8c4c5f0 commit 25279c1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/Presenters/VisitPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function user(): Model
2727
? '\Coderflex\Laravisit\Models\User'
2828
: $userNamespace;
2929

30-
return (new $user)->find($userId);
30+
return (new $user())->find($userId);
3131
}
3232
}

tests/Database/Migrations/create_posts_table.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class () extends Migration {
98
public function up()
109
{
1110
Schema::create('posts', function (Blueprint $table) {

tests/Database/Migrations/create_users_table.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class () extends Migration {
98
public function up()
109
{
1110
Schema::create('users', function (Blueprint $table) {

0 commit comments

Comments
 (0)