Typo fix: allowDevDependnecies to allowDevDependencies (#4093)

Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
This commit is contained in:
Abdul Malik Ikhsan 2020-09-01 16:37:21 +07:00 committed by GitHub
parent 9fb4ff339d
commit cf1725fa6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ final class ComposerJsonManipulator
$json = $this->addDevDependenciesFromPHPStan($json, $phpstanVersion);
return $this->allowDevDependnecies($json);
return $this->allowDevDependencies($json);
}
private function addDevDependenciesFromPHPStan(array $json, string $phpstanVersion): array
@ -143,7 +143,7 @@ final class ComposerJsonManipulator
return $json;
}
private function allowDevDependnecies(array $json): array
private function allowDevDependencies(array $json): array
{
$json['minimum-stability'] = 'dev';
$json['prefer-stable'] = true;