Skip to content

Commit 74e40a1

Browse files
style: Apply fixes from StyleCI (#1014)
Co-authored-by: StyleCI Bot <[email protected]>
1 parent affad14 commit 74e40a1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/Facades/FileUtils.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public static function fake($allowedMethods = [])
1717
{
1818
if (empty($allowedMethods)) {
1919
$allowedMethods = [
20-
'getFile' => '',
21-
'createFile' => true,
20+
'getFile' => '',
21+
'createFile' => true,
2222
'createDirectoryIfNotExist' => true,
23-
'deleteFile' => true,
23+
'deleteFile' => true,
2424
];
2525
}
2626

tests/Commands/APIScaffoldGeneratorCommandTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,10 @@ function mockShouldNotHaveCalledAPIScaffoldGenerators(array $shouldNotHaveCalled
103103
});
104104

105105
it('generates all files for api_scaffold from fields file', function () {
106-
107106
$fileUtils = FileUtils::fake([
108-
'createFile' => true,
107+
'createFile' => true,
109108
'createDirectoryIfNotExist' => true,
110-
'deleteFile' => true,
109+
'deleteFile' => true,
111110
]);
112111

113112
$shouldHaveCalledGenerators = [

0 commit comments

Comments
 (0)