Skip to content

Commit b7466c8

Browse files
Removed the array cast for createProcess.
1 parent 2dc7b9f commit b7466c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Chrome.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct($binary = 'chrome-pdf', $processClass = null)
4848
*/
4949
public function createProcess($cmdline)
5050
{
51-
return new $this->{'processClass'}([$cmdline]);
51+
return new $this->{'processClass'}($cmdline);
5252
}
5353

5454
/**

0 commit comments

Comments
 (0)