From 5b5740b74bd39d05daf044fc5ecb598ec25f73cb Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 7 Sep 2019 10:32:26 +0800 Subject: [PATCH] Remove unused code --- app/Services/Translations/Yaml.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Services/Translations/Yaml.php b/app/Services/Translations/Yaml.php index 0ebf6e0c..9e130b8e 100644 --- a/app/Services/Translations/Yaml.php +++ b/app/Services/Translations/Yaml.php @@ -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; }