Skip to content

Commit c9db48a

Browse files
No reason to keep the constructor private
1 parent 3533ed2 commit c9db48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backup/Compressor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Compressor
7272
* @param string $cmd
7373
* @param string $pathToCmd without trailing slash
7474
*/
75-
protected function __construct($cmd, $pathToCmd = null)
75+
public function __construct($cmd, $pathToCmd = null)
7676
{
7777
$this->path = $pathToCmd . (!empty($pathToCmd) ? DIRECTORY_SEPARATOR : '');
7878
$this->cmd = $cmd;

0 commit comments

Comments
 (0)