Skip to content

Commit

Permalink
Merge pull request #339 from Spriz/patch-1
Browse files Browse the repository at this point in the history
Remove usage of deprecated file
  • Loading branch information
markstory authored Jun 26, 2019
2 parents aa736ae + 85bf586 commit 3cb4890
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
use Cake\Core\App;
use Cake\Core\Configure;
use MiniAsset\AssetCollection;
use MiniAsset\AssetCompiler;
use MiniAsset\AssetConfig;
use MiniAsset\AssetTarget;
use MiniAsset\Factory as BaseFactory;
use MiniAsset\File\Local;
use MiniAsset\File\Remote;
use MiniAsset\Output\AssetCacher;
use MiniAsset\Output\AssetWriter;
use MiniAsset\Output\Compiler;
use RuntimeException;

/**
Expand Down Expand Up @@ -98,10 +98,10 @@ protected function buildFilter($name, $config)
* Create an AssetCompiler
*
* @param bool $debug Not used - Configure is used instead.
* @return \MiniAsset\AssetCompiler
* @return \MiniAsset\Output\Compiler
*/
public function compiler($debug = false)
{
return new AssetCompiler($this->filterRegistry(), Configure::read('debug'));
return new Compiler($this->filterRegistry(), Configure::read('debug'));
}
}

0 comments on commit 3cb4890

Please sign in to comment.