Skip to content

Commit

Permalink
Multiple packages use the same patch throw an array to string excepti…
Browse files Browse the repository at this point in the history
…on - Completes fix from cweagans#38
  • Loading branch information
lacun committed Jul 27, 2017
1 parent f296498 commit 88f1e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Patches.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function gatherPatches(PackageEvent $event) {

// Merge installed patches from dependencies that did not receive an update.
foreach ($this->installedPatches as $patches) {
$this->patches = array_merge_recursive($this->patches, $patches);
$this->patches = $this->arrayMergeRecursiveDistinct($this->patches, $patches);
}

// If we're in verbose mode, list the projects we're going to patch.
Expand Down

0 comments on commit 88f1e88

Please sign in to comment.