Skip to content

Commit 0111f34

Browse files
committed
Use correct initial type for exec() output in load()
1 parent 4531d38 commit 0111f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer-lock-diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function load($fileish, $base_path = '') {
180180
$fileish .= ':' . $base_path . 'composer.lock';
181181
}
182182

183-
$lines = '';
183+
$lines = array();
184184

185185
exec('git show '. escapeshellarg($fileish), $lines, $exit);
186186

0 commit comments

Comments
 (0)