mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 08:10:07 +01:00
Compare similar types.
This commit is contained in:
@@ -37,7 +37,7 @@ private function composerRequiresSculpin($sitePath)
|
||||
$composer_json_source = file_get_contents($sitePath.'/composer.json');
|
||||
$composer_json = json_decode($composer_json_source, true);
|
||||
|
||||
if (json_last_error() != JSON_ERROR_NONE) {
|
||||
if (json_last_error() !== JSON_ERROR_NONE) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user