Skip to content

Commit ca990ed

Browse files
committed
Update
1 parent 2645f28 commit ca990ed

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

bin/PHPJava.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@
1111
}
1212

1313
$jar = new JavaArchive($argv[1]);
14-
$arguments = array_slice($argv, 2);
15-
if (empty($arguments)) {
16-
$arguments = [
17-
[],
18-
];
19-
}
20-
2114
$jar->execute(
22-
...$arguments
15+
...(empty($arguments) ? [[]] : array_slice($argv, 2))
2316
);

0 commit comments

Comments
 (0)