Skip to content

Commit 6cf5ca9

Browse files
committed
refactor: use array fill
refs: #3
1 parent ac50f89 commit 6cf5ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Support/Traits/InitCommandMockTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function mockFileGetContent(array ...$rawCallChain): void
4343
name: 'file_get_contents',
4444
arguments: array_merge(
4545
$call['arguments'],
46-
['optionalParameter', 'optionalParameter', 'optionalParameter', 'optionalParameter'],
46+
array_fill(0, 4, 'optionalParameter'),
4747
),
4848
result: $call['result'],
4949
), $rawCallChain);

0 commit comments

Comments
 (0)