We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be45ecb commit 6fb9e39Copy full SHA for 6fb9e39
src/Composer/ComposerOutdatedResponseProvider.php
@@ -39,11 +39,11 @@ public function provide(): string
39
private function resolveProjectComposerHash(): ?string
40
{
41
if (file_exists(getcwd() . '/composer.lock')) {
42
- return md5_file(getcwd() . '/composer.lock');
+ return (string) md5_file(getcwd() . '/composer.lock');
43
}
44
45
if (file_exists(getcwd() . '/composer.json')) {
46
- return md5_file(getcwd() . '/composer.json');
+ return (string) md5_file(getcwd() . '/composer.json');
47
48
49
return null;
0 commit comments