Skip to content

Commit

Permalink
Add an additional type check
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Oct 2, 2014
1 parent 93f29b4 commit 7e99b53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Repository/AbstractAssetVcsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function __construct(array $repoConfig, IOInterface $io, Config $config,
$this->assetType = $assetType;
$this->dispatcher = $dispatcher;
$this->filter = isset($repoConfig['vcs-package-filter'])
&& $repoConfig['vcs-package-filter'] instanceof VcsPackageFilter
? $repoConfig['vcs-package-filter']
: null;

Expand Down

0 comments on commit 7e99b53

Please sign in to comment.