1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00

Compare similar types.

This commit is contained in:
Beau Simensen
2018-01-08 20:55:31 -06:00
parent ec42860fee
commit fb276d6177

View File

@@ -37,7 +37,7 @@ private function composerRequiresSculpin($sitePath)
$composer_json_source = file_get_contents($sitePath.'/composer.json'); $composer_json_source = file_get_contents($sitePath.'/composer.json');
$composer_json = json_decode($composer_json_source, true); $composer_json = json_decode($composer_json_source, true);
if (json_last_error() != JSON_ERROR_NONE) { if (json_last_error() !== JSON_ERROR_NONE) {
return false; return false;
} }