Удалён мёртвый код

This commit is contained in:
2025-05-13 14:22:48 +08:00
parent 62d07ca2aa
commit f100d9ae72
8 changed files with 2 additions and 100 deletions

View File

@@ -11,7 +11,6 @@ namespace App\Core;
use App\Core\TwigExtention as IptvTwigExtension;
use Dotenv\Dotenv;
use GuzzleHttp\Client;
use InvalidArgumentException;
use Redis;
use Slim\App;
@@ -56,11 +55,6 @@ final class Kernel
*/
protected ?Redis $cache = null;
/**
* @var Client|null
*/
protected ?Client $httpClient = null;
/**
* Закрытый конструктор
*
@@ -198,16 +192,6 @@ final class Kernel
return $this->cache;
}
/**
* Возвращает объект http-клиента
*
* @return Client
*/
public function guzzle(): Client
{
return $this->httpClient ??= new Client($this->config['http']);
}
/**
* Возвращает значение из конфига
*