1
0
Fork 0

Correction the function getComposerInformation in SvnDriver.php. (#10681)

Sometimes the getBaseComposerInformation had an exception so we write in the cache a string value but the funtion want to return null or Array value.
Now we write a empty string value if it happened
pull/10684/head
nargil07 2022-03-31 05:12:31 -10:00 committed by GitHub
parent 40425795f7
commit 986a260d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class SvnDriver extends VcsDriver
throw $e; throw $e;
} }
// remember a not-existent composer.json // remember a not-existent composer.json
$composer = ''; $composer = [];
} }
if ($this->shouldCache($identifier)) { if ($this->shouldCache($identifier)) {