Skip to content

Commit 76cabf4

Browse files
committed
Suppress missing source error in makeCompareUrl()
1 parent 0111f34 commit 76cabf4

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
@@ -209,7 +209,7 @@ function mustDecodeJson($json, $context) {
209209

210210
function makeCompareUrl($pkg, $diff) {
211211
$func = 'formatCompare' . ucfirst(getSourceRepoType((string) @$pkg->source->url));
212-
return call_user_func($func, $pkg->source->url, $diff[$pkg->name][0], $diff[$pkg->name][1]);
212+
return call_user_func($func, @$pkg->source->url, $diff[$pkg->name][0], $diff[$pkg->name][1]);
213213
}
214214

215215
function getSourceRepoType($url) {

0 commit comments

Comments
 (0)