Skip to content

Commit b867ee1

Browse files
authored
Apply suggestions from code review
1 parent 523ceb5 commit b867ee1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Support/Model/ModelMockTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ trait ModelMockTrait
1212

1313
public function mockFileSystemWithoutCommentModel(): void
1414
{
15-
$fileSystemMock = new FileSystemMock;
15+
$fileSystemMock = new FileSystemMock();
1616

1717
$fileSystemMock->models = [
1818
'User.php' => file_get_contents(getcwd() . '/tests/Support/Models/WelcomeBonus.php'),

tests/Support/NovaResourceGeneratorTest/NovaResourceGeneratorMockTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function mockGettingModelInstance(): void
4141

4242
public function mockFileSystemWithoutPostModel(): void
4343
{
44-
$fileSystemMock = new FileSystemMock;
44+
$fileSystemMock = new FileSystemMock();
4545

4646
$fileSystemMock->models = null;
4747

0 commit comments

Comments
 (0)