Remove unused code

This commit is contained in:
Pig Fang 2019-09-07 10:32:26 +08:00
parent b99246234b
commit 5b5740b74b

View File

@ -2,22 +2,17 @@
namespace App\Services\Translations;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Contracts\Cache\Repository;
use Symfony\Component\Yaml\Yaml as YamlParser;
use Spatie\TranslationLoader\TranslationLoaders\TranslationLoader;
class Yaml implements TranslationLoader
{
/** @var Filesystem */
protected $files;
/** @var Repository */
protected $cache;
public function __construct(Filesystem $files, Repository $cache)
public function __construct(Repository $cache)
{
$this->files = $files;
$this->cache = $cache;
}