Skip to content

Commit

Permalink
Apply peer view fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ishannz committed Nov 22, 2019
1 parent a29eebe commit 5d3123c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Admin/ClamAVAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use Symbiote\SteamedClams\ClamAV;
use Symbiote\SteamedClams\Forms\GridFieldClamAVAction;
use Symbiote\SteamedClams\Model\ClamAVScan;
use SilverStripe\AssetAdmin\Controller\AssetAdmin;

/**
* Class Symbiote\SteamedClams\ClamAVAdmin
Expand Down
2 changes: 1 addition & 1 deletion src/ClamAV.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ protected function getClamd()

$result = null;
if (class_exists(Injector::class)) {
$result = Injector::inst()->create('ClamdPipe');
$result = Injector::inst()->create(\ClamdPipe::class);
} else {
$result = new \ClamdPipe;
}
Expand Down

0 comments on commit 5d3123c

Please sign in to comment.