Skip to content

Commit 21dd8aa

Browse files
author
Ni Nelli
committed
refactor: style fixes, remove redundant code
refs: #203
1 parent 484b184 commit 21dd8aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Support/Model/ModelMockTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ trait ModelMockTrait
1111

1212
public function mockDefaultFilesystem(): void
1313
{
14-
$fileSystemMock = new FileSystemMock;
14+
$fileSystemMock = new FileSystemMock();
1515

1616
$fileSystemMock->models = [
1717
'Comment.php' => file_get_contents(getcwd() . '/tests/Support/Models/WelcomeBonus.php'),
@@ -22,9 +22,9 @@ public function mockDefaultFilesystem(): void
2222
$fileSystemMock->setStructure();
2323
}
2424

25-
public function mockFilesystem(array $models = []): void
25+
public function mockFilesystem(array $models): void
2626
{
27-
$fileSystemMock = new FileSystemMock;
27+
$fileSystemMock = new FileSystemMock();
2828

2929
$fileSystemMock->models = $models;
3030

0 commit comments

Comments
 (0)