Remove unused code
This commit is contained in:
parent
b99246234b
commit
5b5740b74b
|
|
@ -2,22 +2,17 @@
|
||||||
|
|
||||||
namespace App\Services\Translations;
|
namespace App\Services\Translations;
|
||||||
|
|
||||||
use Illuminate\Filesystem\Filesystem;
|
|
||||||
use Illuminate\Contracts\Cache\Repository;
|
use Illuminate\Contracts\Cache\Repository;
|
||||||
use Symfony\Component\Yaml\Yaml as YamlParser;
|
use Symfony\Component\Yaml\Yaml as YamlParser;
|
||||||
use Spatie\TranslationLoader\TranslationLoaders\TranslationLoader;
|
use Spatie\TranslationLoader\TranslationLoaders\TranslationLoader;
|
||||||
|
|
||||||
class Yaml implements TranslationLoader
|
class Yaml implements TranslationLoader
|
||||||
{
|
{
|
||||||
/** @var Filesystem */
|
|
||||||
protected $files;
|
|
||||||
|
|
||||||
/** @var Repository */
|
/** @var Repository */
|
||||||
protected $cache;
|
protected $cache;
|
||||||
|
|
||||||
public function __construct(Filesystem $files, Repository $cache)
|
public function __construct(Repository $cache)
|
||||||
{
|
{
|
||||||
$this->files = $files;
|
|
||||||
$this->cache = $cache;
|
$this->cache = $cache;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user