Update FormsPreset.php

This commit is contained in:
Dan Harrin
2021-09-02 23:43:31 +01:00
parent 5e77c8e9c0
commit 22a67f4fff
+2 -2
View File
@@ -20,7 +20,7 @@ class FormsPreset extends Preset
'lodash',
];
public static function install()
public static function install(): void
{
static::updatePackages();
@@ -29,7 +29,7 @@ class FormsPreset extends Preset
$filesystem->copyDirectory(__DIR__ . '/../stubs', base_path());
}
protected static function updatePackageArray(array $packages)
protected static function updatePackageArray(array $packages): array
{
return array_merge(
static::NPM_PACKAGES_TO_ADD,