Skip to content

Commit

Permalink
Removed unnecessary param passed to updatePackageArray method (#30155)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmadu authored and taylorotwell committed Oct 2, 2019
1 parent d0b0262 commit 2b7db5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Illuminate/Foundation/Console/Presets/Preset.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ protected static function updatePackages($dev = true)
$packages = json_decode(file_get_contents(base_path('package.json')), true);

$packages[$configurationKey] = static::updatePackageArray(
array_key_exists($configurationKey, $packages) ? $packages[$configurationKey] : [],
$configurationKey
array_key_exists($configurationKey, $packages) ? $packages[$configurationKey] : []
);

ksort($packages[$configurationKey]);
Expand Down

0 comments on commit 2b7db5f

Please sign in to comment.