Skip to content

Commit

Permalink
Merge pull request #46 from vortechron/patch-1
Browse files Browse the repository at this point in the history
fix extend not working
  • Loading branch information
codedge authored Apr 5, 2019
2 parents dce1b16 + f6ee17b commit 2740323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UpdaterManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function sourceRepository(SourceRepositoryTypeContract $sourceRepository)
*/
public function extend($source, Closure $callback)
{
$this->customRepositoryTypes[$source] = $callback;
$this->customSourceCreators[$source] = $callback;

return $this;
}
Expand Down

0 comments on commit 2740323

Please sign in to comment.