Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
milo committed Mar 4, 2016
1 parent 54c1771 commit 9946e33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ public function getPanel()
$installed = $this->decode($lockFile);

if ($this->error === NULL) {
$required = array_filter($required);
$installed = array_filter($installed);
$required += ['require' => [], 'require-dev' => []];
$installed += ['packages' => [], 'packages-dev' => []];
$required = array_filter($required) + ['require' => [], 'require-dev' => []];
$installed = array_filter($installed) + ['packages' => [], 'packages-dev' => []];
$data = [
'Packages' => self::format($installed['packages'], $required['require']),
'Dev Packages' => self::format($installed['packages-dev'], $required['require-dev']),
Expand Down

0 comments on commit 9946e33

Please sign in to comment.